Init Css
This commit is contained in:
parent
e016ca61ea
commit
fb8b6fe9b8
17
assets/master.css
Normal file
17
assets/master.css
Normal file
|
@ -0,0 +1,17 @@
|
|||
.form{
|
||||
|
||||
}
|
||||
|
||||
.submit{
|
||||
|
||||
}
|
||||
|
||||
.bg{
|
||||
background-color: gray;
|
||||
}
|
||||
|
||||
.center{
|
||||
margin:auto;
|
||||
padding: 10px;
|
||||
width: 50%;
|
||||
}
|
24
index.html
24
index.html
|
@ -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>
|
Loading…
Reference in New Issue
Block a user