Jump to content

Make a background image responsive


Recommended Posts

Many thanks Jiten
 

is that background image is on whole page i mean body ?

 
Yes its in the body in global.css like this

body{
    background: #ffffff url('../img/numerisation-de-video-fond2.jpg');
}

Should your code

<img class="pring" src="image location" width="" height="" alt="" />
on css img.pring{max-width:100%;}

also go in global css?

Edited by markjl (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...