Styling Conventions
This lesson is a small guide to styling techniques and conventions that we'll be using to design our top-level menu.
We'll cover the following
Targetting the elements
We have some divs for grouping; now, let’s make them targetable so we can actually do things with them. There are a variety of conventions to follow for naming our div classes, and in the end, it doesn’t matter which of them you pick – as long as you’re consistent with one.
We’ll use a convention called BEM for our projects since I think it’s easy to understand.
Get hands-on with 1400+ tech skills courses.