Last active
July 7, 2025 13:24
-
-
Save ebaizel/cd559537a08d808817c4208f16149d3b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>File Upload</title> | |
<style> | |
body { | |
font-family: Arial, sans-serif; | |
max-width: 500px; | |
margin: 100px auto; | |
padding: 20px; | |
text-align: center; | |
} | |
h1 { | |
color: #333; | |
margin-bottom: 30px; | |
} | |
input[type="file"] { | |
padding: 12px; | |
border: 2px solid #ddd; | |
border-radius: 4px; | |
font-size: 16px; | |
background-color: #fafafa; | |
} | |
input[type="file"]:focus { | |
outline: none; | |
border-color: #4CAF50; | |
} | |
button { | |
margin-top: 20px; | |
padding: 12px 24px; | |
background-color: #4CAF50; | |
color: white; | |
border: none; | |
border-radius: 4px; | |
font-size: 16px; | |
cursor: pointer; | |
} | |
button:hover { | |
background-color: #45a049; | |
} | |
</style> | |
</head> | |
<body> | |
<h1>Please upload your file</h1> | |
<form> | |
<input type="file" id="fileUpload" name="fileUpload"> | |
<br> | |
<button type="submit">Upload</button> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment