-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinput_css.html
48 lines (48 loc) · 1.53 KB
/
input_css.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
input[type=text],input[type=subject]{
width: 90%;
padding: 6px 10px;
margin: 10px 0;
display: inline-block;
border: 2px solid blue;
border-radius: 4px;
}
input[type=subject]{
height: 100px;
}
input[type=text]:hover{
background-color: bisque;
}input[type=text]:focus{
font-size: 1.2em;
}input[type=submit] {
background-color: #04AA6D;
border: none;
color: white;
padding: 8px 24px;
}
</style>
</head>
<body>
<h2>상품 평</h2>
<p>받으신 상품을 평가해주세요.</p>
<div>
<form action="">
<label for="name">이름</label><br>
<input type="text" id="name" placeholder="이름"></input><br>
<label for="name">이메일</label><br>
<input type="text" id="email" placeholder="이메일"></input><br>
<label for="name">상품 평</label><br>
<input type="subject" id="subject" placeholder="상품을 평가해주세요"></input><br>
<br>
<input type="submit" id="submit" placeholder="submit">
</form>
</div>
</body>
</html>