billy-deprecated / advanced-css-review

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advanced CSSI Review

Fork and clone this repository, then view the slides here:

Activity Break 1

Exercise 1

Modify the HTML (no css) so that each image appears on its own line, similar to: ex1

Exercise 2:

Modify the CSS and HTML if necessary to add a yellow highlight to both headers, similar to: ex2

Exercise 3

Modify the CSS to center the link, similar to: ex3

Activity Break 2

Exercise 4

Using only CSS, make the ps in the nav green, and the ps in the section, similar to: ex4

Exercise 5

Without modifying other-style.css, make the h1 have a font size of 100pt, similar to: ex5

Exercise 6

Create a yellow background around the contents of the paragraphs, similar to: ex6

Activity Break 3

Exercise 7

Modify the CSS and HTML if necessary to style the page similar to: ex7

Some specs:

  • The solid border surrounding the page's contents is 3px and black.
  • The width of the bordered area is 80%.
  • The yellow boxes have a width of 30% with a 1% margin.
  • The gray background color is called gainsboro. The gray area has a margin of 30px and padding of 10px.

Exercise 8

Modify the CSS and HTML if necessary to style the page similar to: ex8

Hints:

  • You do NOT need to use float.
  • The width of the image is 25%.

About


Languages

Language:HTML 82.1%Language:CSS 17.9%