-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpseudo.html
More file actions
35 lines (32 loc) · 743 Bytes
/
pseudo.html
File metadata and controls
35 lines (32 loc) · 743 Bytes
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="robots" content="noindex, nofollow" />
<meta name="googlebot" content="noindex, nofollow" />
<title>Pseudoelements</title>
<style>
body {
background: #20262E;
padding: 20px;
font-family: Helvetica;
}
.example {
background: #fff;
border-radius: 4px;
padding: 20px;
transition: all 0.2s;
text-align: center;
}
.example::before {
content: "extra words and stuff";
}
</style>
</head>
<body>
<article>
<div class="example">
Some text in a DOM Node
</div></article>
</body>
</html>