Skip to content

Commit

Permalink
Update syntax for dropdown to CSS without nesting
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalikoze committed May 21, 2024
1 parent 76024fe commit b3d6727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lessons/module-2/advanced-css.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Nesting allows you to define styles for nested elements in a more intuitive and

In this example, we define styles for a navigation bar and its nested list items and links. The nesting structure mirrors the HTML structure, making it easier to understand and maintain the CSS code.

<section class="solution">
<section class="answer">
### CSS Without Nesting

Here is what the CSS would look like without nesting:
Expand Down

0 comments on commit b3d6727

Please sign in to comment.