-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
75 lines (59 loc) · 938 Bytes
/
style.css
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
div.mydiv:active {
font-weight: bold;
}
a:focus {
background-color: aquamarine;
}
button:focus {
color: aqua;
}
p:hover {
background-color: grey;
}
ol:hover {
background-color: yellow;
}
li:hover {
color: red;
}
a:link {
color: greenyellow
}
a:visited {
color: brown;
}
p:first-child {
color: blueviolet;
}
p:first-of-type {
background-color: yellow;
}
li:nth-child(3n+4) {
border: solid orange;
}
#hello>p::before {
content: 'This is CSS ka content';
width: 200px;
height: 30px;
background-color: violet;
}
li::after {
content: '.';
width: 10px;
height: 10px;
background-color: tomato;
}
li::marker {
font-weight: bold;
}
a[title] {
border: solid 5px #0000ff;
}
*[title*="Lorem ipsum"] {
border-radius: 20px;
background-color: rgba(255, 0, 150);
}
a[href^="http"][href$=".com"]::after {
content: url(https://upload.wikimedia.org/wikipedia/commons/6/64/Icon_External_Link.png);
overflow: hidden;
}