From b1656ee9b03b16cd012b96a4b1ec0d45f893d536 Mon Sep 17 00:00:00 2001 From: Jihye Hong Date: Mon, 24 Jun 2024 15:23:18 +0900 Subject: [PATCH] Update and rename test.html to main.html --- demos/target-text/{test.html => main.html} | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) rename demos/target-text/{test.html => main.html} (93%) diff --git a/demos/target-text/test.html b/demos/target-text/main.html similarity index 93% rename from demos/target-text/test.html rename to demos/target-text/main.html index 4a8bc9cd..5459a3a1 100644 --- a/demos/target-text/test.html +++ b/demos/target-text/main.html @@ -17,11 +17,12 @@ } ::target-text { background-color: blue; - color: white; } - ::target-text:target { - border: 2px solid black; + + :target { + color : white; } + body::after { content: "goo"; background-color: red;