damonleadous / prj-rev-bwfs-dasmoto

0 stars 0 forks source link

IMPORTANT - Sectioning out divs #2

Open Emik234 opened 7 years ago

Emik234 commented 7 years ago

Whenever you are working on a website with different sections, it's common practice to group each section with a <div> or <section>. This will help keep things organized and allow us to style it in more ways.

Here's an example:

<div id="brushes">
        <h2>Brushes</h2>
        <img ...>
        <h3>...</h3>
        <p>...<span>...</span></p>
      </div>

With this, we can now style any element by using the unique id as a starting point for the css selectors, for instance, if you wanted to change the background color of the <h2> element, we can do so like this:

#brushes h2 {
        background-color: ...;
      }

So go ahead and make those changes for each section you have

damonleadous commented 7 years ago

no