aboutsummaryrefslogtreecommitdiffhomepage
path: root/web/css.html
diff options
context:
space:
mode:
authorjohannst <johannst@users.noreply.github.com>2024-02-15 23:29:57 +0000
committerjohannst <johannst@users.noreply.github.com>2024-02-15 23:29:57 +0000
commitbac8a5d2822835cf47175d1162030653fadd5c09 (patch)
tree28f312a114cf95ac799daac2a2caec4b8612d84d /web/css.html
parentbfc5ce4bc01e5eb28969eefcc01ecfefa2601fdf (diff)
downloadnotes-bac8a5d2822835cf47175d1162030653fadd5c09.tar.gz
notes-bac8a5d2822835cf47175d1162030653fadd5c09.zip
deploy: 4485708c972815bbb6df7f5a228683aa855d553d
Diffstat (limited to 'web/css.html')
-rw-r--r--web/css.html18
1 files changed, 9 insertions, 9 deletions
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 @@
<h1 id="css"><a class="header" href="#css">css</a></h1>
<h2 id="selector"><a class="header" href="#selector">selector</a></h2>
<p><code>.moose</code> element with class</p>
-<pre><code class="language-html">&lt;div class = &quot;moose&quot;&gt;&lt;/div&gt; // selected
-&lt;div class = &quot;bar&quot;&gt;&lt;/div&gt; // NOT selected
+<pre><code class="language-html">&lt;div class = "moose"&gt;&lt;/div&gt; // selected
+&lt;div class = "bar"&gt;&lt;/div&gt; // NOT selected
</code></pre>
<p><code>.moose.bar</code> element with multiple classes</p>
-<pre><code class="language-html">&lt;div class = &quot;moose bar&quot;&gt;&lt;/div&gt; // selected
-&lt;div class = &quot;bar&quot;&gt;&lt;/div&gt; // NOT selected
+<pre><code class="language-html">&lt;div class = "moose bar"&gt;&lt;/div&gt; // selected
+&lt;div class = "bar"&gt;&lt;/div&gt; // NOT selected
</code></pre>
<p><code>.moose .bar</code> descendant element with classes</p>
-<pre><code class="language-html">&lt;div class = &quot;moose&quot;&gt;
- &lt;div class = &quot;bar&quot;&gt;&lt;/div&gt; // selected
+<pre><code class="language-html">&lt;div class = "moose"&gt;
+ &lt;div class = "bar"&gt;&lt;/div&gt; // selected
&lt;/div&gt;
-&lt;div class = &quot;bar&quot;&gt;&lt;/div&gt; // NOT selected
+&lt;div class = "bar"&gt;&lt;/div&gt; // NOT selected
</code></pre>
<p><code>p</code> specific element</p>
<pre><code class="language-html">&lt;p&gt;&lt;/p&gt; // selected
&lt;div&gt;&lt;/div&gt; // NOT selected
</code></pre>
<p><code>p.bar</code> specific element with class</p>
-<pre><code class="language-html">&lt;p class = &quot;bar&quot;&gt;&lt;/p&gt; // selected
-&lt;p class = &quot;foo&quot;&gt;&lt;/p&gt; // NOT selected
+<pre><code class="language-html">&lt;p class = "bar"&gt;&lt;/p&gt; // selected
+&lt;p class = "foo"&gt;&lt;/p&gt; // NOT selected
</code></pre>
<p><code>p,div</code> any element</p>
<pre><code class="language-html">&lt;p&gt;&lt;/p&gt; // selected