Skip to content

Commit a804d74

Browse files
committed
Create after-icon.html
1 parent 0bb833a commit a804d74

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

learn/selectors/after-icon.html

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!doctype html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<title>Selectors: ::after</title>
7+
<link rel="stylesheet" href="../styles.css">
8+
<style>
9+
10+
</style>
11+
12+
<style class="editable">
13+
.box::after {
14+
content: " ➥"
15+
}
16+
17+
</style>
18+
</head>
19+
20+
<body>
21+
<section class="preview">
22+
<p class="box">Content in the box in my HTML page.</p>
23+
</section>
24+
25+
<textarea class="playable playable-css" style="height: 80px;">
26+
.box::after {
27+
content: " ➥"
28+
}
29+
</textarea>
30+
31+
<textarea class="playable playable-html" style="height: 60px;">
32+
<p class="box">Content in the box in my HTML page.</p>
33+
</textarea>
34+
35+
<div class="playable-buttons">
36+
<input id="reset" type="button" value="Reset">
37+
</div>
38+
</body>
39+
<script src="../playable.js"></script>
40+
41+
</html>

0 commit comments

Comments
 (0)