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" /> <meta charset="utf-8" />
<title>Caption</title> <title>Caption</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <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> --> <!-- <script src="main.js"></script> -->
</head> </head>
<body> <body class="bg">
<form enctype="multipart/form-data" action="/image" method="post"> <div class="center">
<textarea name="text" cols="30" rows="3"></textarea> <form class="form" enctype="multipart/form-data" action="/image" method="post">
<input name="image" type="file"> <div class="">
<input type="submit" value="submit"> <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> </form>
</div>
</body> </body>
</html> </html>