From bac8a5d2822835cf47175d1162030653fadd5c09 Mon Sep 17 00:00:00 2001 From: johannst Date: Thu, 15 Feb 2024 23:29:57 +0000 Subject: deploy: 4485708c972815bbb6df7f5a228683aa855d553d --- web/css.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'web/css.html') diff --git a/web/css.html b/web/css.html index 6f63a1f..d7e2a84 100644 --- a/web/css.html +++ b/web/css.html @@ -179,26 +179,26 @@

css

selector

.moose element with class

-
<div class = "moose"></div>  // selected
-<div class = "bar"></div>    // NOT selected
+
<div class = "moose"></div>  // selected
+<div class = "bar"></div>    // NOT selected
 

.moose.bar element with multiple classes

-
<div class = "moose bar"></div>  // selected
-<div class = "bar"></div>        // NOT selected
+
<div class = "moose bar"></div>  // selected
+<div class = "bar"></div>        // NOT selected
 

.moose .bar descendant element with classes

-
<div class = "moose">
-    <div class = "bar"></div>  // selected
+
<div class = "moose">
+    <div class = "bar"></div>  // selected
 </div>
-<div class = "bar"></div>      // NOT selected
+<div class = "bar"></div>      // NOT selected
 

p specific element

<p></p>      // selected
 <div></div>  // NOT selected
 

p.bar specific element with class

-
<p class = "bar"></p>  // selected
-<p class = "foo"></p>  // NOT selected
+
<p class = "bar"></p>  // selected
+<p class = "foo"></p>  // NOT selected
 

p,div any element

<p></p>      // selected
-- 
cgit v1.2.3