Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Multiple images in background

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 219
    Comment on it

    It is easy to add multiple images in the background by using HTML and CSS code only. we can use one image which will repeat across the top i.e (repeat-x) and the another one will across the entire page or it is simple way to adjust every image position with background-position

    FOLLOWING ARE FEW LINE OF CODE:

    HTML CODE:

    Multiple background image

    CSS CODE:

    .bgimg
       {
    background: url(images/bgimg1.png), url(images/bgimg2.png),url(images/bgimg3.png);
    background-repeat: repeat-x, repeat-y, no-repeat,;
    background-position:20px 30px , 40px 50px ,15px 25px;
       }
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: