From 5b434ad58ba8cfe4c3b9c87273daa9917cc7ae02 Mon Sep 17 00:00:00 2001 From: johannst Date: Tue, 14 Nov 2023 18:26:06 +0000 Subject: deploy: 11eebd33aa0ca9b87068b82b5d6f78537b95e4ba --- print.html | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) (limited to 'print.html') diff --git a/print.html b/print.html index 3584915..ebd80f0 100644 --- a/print.html +++ b/print.html @@ -89,7 +89,7 @@ @@ -5319,6 +5319,7 @@ nc localhost 8200

Web

html

@@ -5451,6 +5452,43 @@ window.onload = () => { <p>... and there.</p> </div> +

css

+

selector

+

.moose element with class

+
<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
+
+

.moose .bar descendant element with classes

+
<div class = "moose">
+    <div class = "bar"></div>  // selected
+</div>
+<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,div any element

+
<p></p>      // selected
+<div></div>  // selected
+<a></a>      // NOT selected
+
+

div p descendant element of other element

+
<div><p></p></div>           // selected
+<div><ul><p></p></ul></div>  // NOT selected
+
+

div > o direct descendant element of other element

+
<div><p></p></div>           // selected
+<div><ul><p></p></ul></div>  // NOT selected
+

Chart.js

Minimal example with external tooltips

Rendered html

-- cgit v1.2.3