summaryrefslogtreecommitdiff
path: root/Base/home/anon/www/last-child.html
diff options
context:
space:
mode:
Diffstat (limited to 'Base/home/anon/www/last-child.html')
-rw-r--r--Base/home/anon/www/last-child.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/Base/home/anon/www/last-child.html b/Base/home/anon/www/last-child.html
new file mode 100644
index 0000000000..562d85aac4
--- /dev/null
+++ b/Base/home/anon/www/last-child.html
@@ -0,0 +1,23 @@
+<html>
+<head>
+<title>:last-child test</title>
+<style>
+p:last-child {
+ color: lime;
+ background-color: black;
+ padding: 5px;
+}
+</style>
+</head>
+<body>
+<div>
+ <p>This text isn't selected.</p>
+ <p>This text is selected!</p>
+</div>
+
+<div>
+ <p>This text isn't selected.</p>
+ <h2>This text isn't selected: it's not a `p`.</h2>
+</div>
+</body>
+</html>