r9young / DECO7140-Final-Project

0 stars 0 forks source link

Bug - Adding Background Picture and making image look faded #2

Open r9young opened 4 months ago

r9young commented 4 months ago

The Issue: I am unable to add background-img into css file, it stays on the top of hmtl.


<style>
    body {
        background-image: 
        linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.8)), /* White fade effect */
        url('img/image_2.jpg'); /* Your background image */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 100vh;
        margin: 0;
    }
</style>
Renegade2345 commented 2 months ago

I see there is some issue with the linking in css file. I hope it's not overlapping or something like that