Re-Introduction to CSS and HTML

Main file structure

  1. index.html a. styles folder b. javascript folder

    The DOM

The DOM (Document Object Model) is the browser's internal representation of what the HTML structure looks like. You can manipulate the DOM using JavaScript.

IDs Classes

Define an ID in html <div id="dog"></div> access an ID in css #dog

Define a class in html <class id="dog"></div> access a class in css .dog

PsuedoSelectors

These selectors are defined as such #dog:hover There should no spaces between the selector

Css Tricks

results matching ""

    No results matching ""