Link to a style sheet


#1

One thing which is confusing me we can add an image on index.html like we did we before so why we are adding it in maiin.css
The code shows that

CAN ANYONE REMOVE MY CONFUSION


#2

because <img> and background-image work rather different. a regular image (<img>) is great, we can put it on our website, but if we want to have it in the background (spanning the whole body or a whole div), it is impractical, it can be done with positioning tricks, but why do if we have background-image which does this for us? Regular image are in the foreground, interacting with other elements


#3

2 posts were split to a new topic: Link to stylesheet


#4