-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtryAttributeSelectors.html
More file actions
51 lines (43 loc) · 1.11 KB
/
tryAttributeSelectors.html
File metadata and controls
51 lines (43 loc) · 1.11 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Attribute Selectors</title>
<style>
*{
margin: 0px;
padding: 0px;
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
h1{
text-align: center;
}
body{
background-color: teal;
}
ul{
background-color: rgba(86, 82, 79, 0.8);
padding: 10px;
margin-bottom: 20px;
text-align: center;
border-radius: 10px;
}
li{
margin-left: 50px;
list-style-type: none;
display: inline-block;
font-size: 1.5rem;
}
</style>
</head>
<body>
<ul>
<li class="a">Item 1</li>
<li class="ab">Item 2</li>
<li class="bca">Item 3</li>
<li class="bcabc">Item 4</li>
</ul>
<h1>Attribute substring matching selectors</h1>
</body>
</html>