Skip to content

Instantly share code, notes, and snippets.

@artem-alek
Created January 24, 2017 14:22
Show Gist options
  • Save artem-alek/8fba696ad2064bc43fc41620e3c05fb8 to your computer and use it in GitHub Desktop.
Save artem-alek/8fba696ad2064bc43fc41620e3c05fb8 to your computer and use it in GitHub Desktop.
Section 1
1. They are elements like img and are empty becuase they hold no data. They pull data from somehwere else and its not does not have to be stored on server.
2. The difference between class and id is that id can only be used once per page where class can be used mutlple times per page.
3. Inline only take up the amount of space they need where blocks go to the next line and take the whole row. Inline = <span> and blocks = <div>
Seciton 2
1. a css selector is the target you wish to change. ex a, p, nav, body, .something, #something
2. nav(div) -> id(#something) -> class(.something)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment