Skip to content

Instantly share code, notes, and snippets.

@kuznetsovandrey76
Created October 15, 2018 14:13
Show Gist options
  • Save kuznetsovandrey76/b0a2c1ddc34c67e3c5f5f2e371e0719d to your computer and use it in GitHub Desktop.
Save kuznetsovandrey76/b0a2c1ddc34c67e3c5f5f2e371e0719d to your computer and use it in GitHub Desktop.
Upload files
<fieldset>
<legend>Загрузка файлов</legend>
<div>
<label for="data">Загружаемый файл:</label>
<input type="file"
id="data" name="data"
accept="image/png, image/jpeg" />
</div>
<div>
<input type="submit" value="Загрузить">
</div>
</fieldset>
<style>
legend {
background-color: #000;
color: #fff;
padding: 3px 6px;
}
.output {
font: 1rem 'Fira Sans', sans-serif;
}
label {
margin-top: 1rem;
display: block;
font-size: .8rem;
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment