Day 27: Picasso Painting

Day 27. We still keep our gloves on. 10 steps for today.

  1. Remember the last div we worked on yesterday, yea the one with id black-hat, I created a border-width attribute for it. The border-width sets the width for the four borders of the element.

Day 27 pic 1a.png

Day 27 no1b.png

  1. I styled the border for the black-hat element using the attributes border-top-color, border-left-color ……

Day 27 no 2a.png

Day 27 no2b.png

  1. Next steps is to position the element using the attributes position, left and top with their corresponding values.

Day 27 n03a.png

Day 27 no 3b.png

  1. I then styled the element with id gray-mask. Width, height and background-color where giving values.

day 27 n04a.png

Day 27 no4b.png

  1. Time to position the element. Can you guess the attributes we would be using…..position, left and top. You guessed right.

Day 27 n05a.png

Day 27 no5b.png

  1. I went on to style a new div with id white-paper giving it width, height and background-color attributes.

Day 27 no6a.png

Day 27 no6b.png

  1. Next is positioning. I know you already know what to do. Use the attributes position, top and bottom.

Day 27 no7a.png

Day 27 no7b.png

  1. Remember, I told you about an attribute that controls the orderliness of overlapping. Yes dear, Z-index, I used it in this step.

Day 27 no8a.png

Day 27 no8b.png

  1. FontAwesome icons come with their own styling however, you can change the style to whatever you desire. That brings us to the next step – styling the fa-music.

Day 27 no9a.png

Day 27 no9b.png

  1. Last step for the day, I created two divs below the black-character div.

Day 27 no10a.png Thank you following along. If you have questions please drop them in the comment section.