input file type using css
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="index.css">
</head>
<body>
<div class="container">
<input type="file" class="file-name">
</div>
</body>
</html>
CSS
.container {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
margin-top: 50px;
}
.file-name {
background-color: aquamarine;
width: 400px;
height: 35px;
border-radius: 5px;
}
.file-name::file-selector-button {
height: 35px;
border-radius: 5px;
border: 0.1px solid gray;
transition: 0.4s;
}
.file-name::file-selector-button:hover {
background-color: rgb(5, 90, 90);
color: white;
}
3 Comments
RootMe CTF on TryHackMe
what is shodan how its works
picoCTF's in my website
Nice netcat... picoCTF
python wrangling picoCTF
Mod 26 PicoCTF
picoCTF Obedient Cat
vulnhub Walkthrough
VulnHub LazySysAdmin Walkthrough
tryhackme walkthrough
OhSINT tryhackme
RootMe tryhackme
introductory researching tryhackme
ConversionConversion EmoticonEmoticon