-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpseudo class.html
81 lines (73 loc) · 1.58 KB
/
pseudo class.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
@keyframes lal {
from { background-color: blue;
width: 100px;height: 50px;}
to{ background-color: crimson;
width: 600px;
height: 300px;}
}
#lal{
width: 100px;
height: 200px;
animation-color:red;
animation-name:lal ;
animation-duration: 5s;
animation-iteration-count: infinite;
}
h1{
color: hotpink;
}
.ma:hover{
color: navajowhite;
font-size: 42px;
background-color: black;
width: 40%;
}
input:focus{
color: red;
font-weight: 700;
font-size: 30px;
}
p:nth-child(2n+1){
color: darkred;
background-color: black;
width: 80%;
}
h1::before{
content: "Hello " ;
background-color: blue;
-webkit-flow-into: 50px;
}
p::before{
content: "tom" ;
}
</style>
</head>
<body>
<h1>pseudo class</h1>
<h1> normal class</h1>
<h1>valo class</h1>
<h1 class=" ma">vaolo</h1>
<h2 class="ani">email</h2>
<input name="email" type="text">
<br>
<h2>password</h2>
<input name="password" type="text">
<ul id="lal">
<p> ami</p>
<p>tumi</p>
<p> ke se</p>
<p> jni na to</p>
<p> boka manish</p>
<p> ha ha ha ha!</p>
<p> valo basi</p>
<p>>valo</p>
</ul>
</body>
</html>