Skip to content

Commit

Permalink
Merge pull request #28 from fueg/patch-1
Browse files Browse the repository at this point in the history
Update 01-basics.html
  • Loading branch information
culas authored Jul 2, 2024
2 parents ab208bd + 7c146d6 commit e57179d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapters/01-basics.html
Original file line number Diff line number Diff line change
Expand Up @@ -323,10 +323,10 @@ <h2>Combinator Selectors</h2>

<section>
<h2>Combinator Selectors</h2>
<p>Select <span class="hl">adjacent siblings</span> with <span class="code">+</span>.</p>
<p>Select <span class="hl">next adjacent siblings</span> following an element with <span class="code">+</span>.</p>
<div class="comparison">
<pre class="fragment"><code class="hljs css" data-trim data-noescape>
/* p that are <b>adjacent siblings</b> of a ul */
/* p that are <b>adjacent siblings following</b> a ul */
ul + p {
color: red;
}
Expand Down

0 comments on commit e57179d

Please sign in to comment.