Skip to content

Instantly share code, notes, and snippets.

@ebaizel
Created June 14, 2025 03:09
Show Gist options
  • Save ebaizel/cd559537a08d808817c4208f16149d3b to your computer and use it in GitHub Desktop.
Save ebaizel/cd559537a08d808817c4208f16149d3b to your computer and use it in GitHub Desktop.
<!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;
}
</style>
</head>
<body>
<h1>Please upload your file</h1>
<form>
<input type="file" id="fileUpload" name="fileUpload">
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment