#Why don't I get a background image?

5 messages · Page 1 of 1 (latest)

wise trout
#

I want a background image in the Hero section. The <div> has a class called "hero". I use .hero{} in my css. Why does nothing change in my browser?

blazing sand
#

The location of style.css is wrong i guess. It should be href=“style.css”

wise trout
blazing sand
#

The correct MIME type for CSS is text/css not just css.

<link rel="stylesheet" href="./style.css" type="text/css">
blazing sand