Thursday, 1 June 2017

Task 3 Blogs - Blog 5 - CSS

Thankfully, I decided to put all CSS code into one file thus saving all the hassle to put them into one file.







The main problem(repeated problem once again) was the background attachment. The background-attachment property sets whether a background image is fixed or scrolls with the rest of the page. In this case, relative did not work as it was not valid for a background attachment. I changed it from relative to scroll, so it would scroll when the user scrolls down the website. 

When it comes to error no.2, I forgot to give a unit to the padding of the search bar, being 5px.

No comments:

Post a Comment