This commit is contained in:
Peppuz 2018-03-10 02:46:12 +01:00 committed by subnixr
parent e016ca61ea
commit fb8b6fe9b8
2 changed files with 36 additions and 7 deletions

17
assets/master.css Normal file
View File

@ -0,0 +1,17 @@
.form{
}
.submit{
}
.bg{
background-color: gray;
}
.center{
margin:auto;
padding: 10px;
width: 50%;
}

View File

@ -5,16 +5,28 @@
<meta charset="utf-8" />
<title>Caption</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="main.css" />
<link rel="stylesheet" type="text/css" media="screen" href="assets/master.css" />
<!-- <script src="main.js"></script> -->
</head>
<body>
<form enctype="multipart/form-data" action="/image" method="post">
<textarea name="text" cols="30" rows="3"></textarea>
<input name="image" type="file">
<input type="submit" value="submit">
<body class="bg">
<div class="center">
<form class="form" enctype="multipart/form-data" action="/image" method="post">
<div class="">
<textarea class="text" name="text" cols="30" rows="3"></textarea>
</div>
<div class="">
<input class="" name="image" type="file">
</div>
<div class="">
<input class="" type="submit" value="submit">
</div>
</form>
</div>
</body>
</html>