-
Notifications
You must be signed in to change notification settings - Fork 172
/
Copy pathcss-is.html
59 lines (47 loc) · 1000 Bytes
/
css-is.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<div class="post">
<h1>h1</h1>
<h2>h2</h2>
<h3>h3</h3>
</div>
<body>
<style>
.post h1,
.post h2,
.post h3,
.post h4,
.post h5,
.post h6 {
font: 'Comic Sans MS', fantasy;
}
/* SICK */
.post :where(h1, h2, h3, h4, h5, h6) {
font-family: 'Comic Sans MS', fantasy;
color: #ffc600;
}
.post :where(h1, h2, h3, h4, h5, h6) a {
font-size: 0.5rem;
}
.signup input,
.signput button,
.signup textarea,
.signup select,
.signup option {
border: 1px groove salmon;
}
.signup :where(input, button, textarea, select, option) {
border: 1px groove salmon;
}
.signup :is(input, button, textarea, select, option) {
/* More Specific! */
border: 1px groove salmon;
}
</style>
</body>
</html>