Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
Like Tree1Likes
  • 1 Post By prasanth

Thread: How to make css background image responsive?

  1. #1
    Junior Member
    Join Date
    May 2014
    Posts
    1
    Member #
    39197

    How to make css background image responsive?

    Hi, Can some one help me how to reduce css background image in order to fit in mobile version?
    Images are cutting off a little on the right side when I reduce the window to match mobile size.

    The last three images on this website: Audio, Music, Design

    About |

    I appreciate your help....

  2.  

  3. #2
    Senior Member Vapr_Arts's Avatar
    Join Date
    Oct 2013
    Location
    California
    Posts
    1,930
    Member #
    37412
    Liked
    544 times
    There doesnt seem to be a problem when i view it? Did you fix this already?


    Regretfully sent from my iPhone using Tapatalk during lunch and other breaks

  4. #3
    Junior Member
    Join Date
    May 2014
    Posts
    10
    Member #
    39160
    Check out the latest post on css-tricks.com

    Sent from my Motorola Electrify using Tapatalk 2

  5. #4
    Junior Member usedearplugs's Avatar
    Join Date
    Feb 2014
    Posts
    12
    Member #
    38474
    Liked
    3 times
    body{
    background-size:cover; /* This will cover the whole screen and crop it to fit */
    background-size:contain; /* This will fill the screen without cropping and will either leave blank space or will repeat */
    }

  6. #5
    Banned
    Join Date
    Sep 2014
    Posts
    21
    Member #
    40215
    Liked
    1 times
    hi, first responsive site code in width size are set in webpages,and image div are split in corret space,
    background-image are using in images,next background-size:100% 100%; is used in the fixed size for the divs.
    Thanks.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 06:55 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com