-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtut_32.html
47 lines (47 loc) · 1.49 KB
/
tut_32.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
<!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>Attrubute and nth child pseudo selectors</title>
<style>
.container{
/* margin: 34px 23px; */
display: block;
width: 300px;
margin: auto;
}
input{
display: block;
}
input[type="text"]{
padding: 23px;
border: 2px solid red;
}
a[target]{
font-size: 55px;
color: royalblue;
}
</style>
</head>
<body>
<div class="container">
<h1><a href="https://www.google.com/" target="_blank">Goto google</a></h1>
<h1><a href="https://facebook.com/" target="_blank">Goto Facebook</a></h1>
<form action="" class="form-control">
<input type="text" name="" id="" placeholder="Enter your name">
<input type="password" name="" id="" placeholder="Enter your password">
<input type="submit" placeholder="submit">
</form>
<ul>
<li class="item" id="item-1">Item-1</li>
<li class="item" id="item-2">Item-2</li>
<li class="item" id="item-3">Item-3</li>
<li class="item" id="item-4">Item-4</li>
<li class="item" id="item-5">Item-5</li>
<li class="item" id="item-6">Item-6</li>
</ul>
</div>
</body>
</html>