About 50 results
Open links in new tab
  1. html - CSS background image to fit width, height should auto-scale in ...

    Feb 13, 2012 · CSS background image to fit width, height should auto-scale in proportion Asked 14 years ago Modified 2 years, 5 months ago Viewed 1.2m times

  2. css - How do I stretch a background image to cover the entire HTML ...

    If the background-size property is set to "100% 100%", the background image will stretch to cover the entire content area There it shows the 'img_flowers.jpg' stretching to the size of the screen or …

  3. Stretch and scale a CSS image in the background - with CSS only

    Jul 19, 2009 · The background image resizes to the browser viewport for any screen size. When the content doesn't fit the browser viewport, and the user needs to scroll the page, the background …

  4. 100% width background image with an 'auto' height - Stack Overflow

    I can't seem to get this working properly as the div with the background image needs both a width and a height to show the background. I can obviously use 'width: 100%' but what do I use for the height?

  5. How to give the background-image path in CSS? - Stack Overflow

    How to give the background-image path in CSS? Asked 12 years, 2 months ago Modified 1 year, 9 months ago Viewed 632k times

  6. css - Best way to implement background image on HTML or body

    Jan 14, 2015 · I have an image which i need to stretch whole body so i don't know what is best way to do this html{ /*background image properties*/ } or body{ /*background image properties*/ }

  7. Adding background image to div using CSS - Stack Overflow

    Nov 19, 2013 · Adding background image to div using CSS Asked 12 years, 2 months ago Modified 10 months ago Viewed 416k times

  8. CSS background image to fit height, width should auto-scale in ...

    Nov 20, 2013 · I want background image fit with the height of the div, there's a way to do that? background-size:cover; fit only with the width and height autoscale (I need the opposite effect). Thanks.

  9. css difference between background: and background-image:

    Sep 21, 2016 · In a background property you can add background-color, repeat, no-repeat and other image attributes, but in the background-image property you are only allowed to add image.

  10. How to apply a CSS filter to a background image - Stack Overflow

    just underneath background-image in my CSS, it styles the whole page, rather than just the background. Is there a way to select just the image and apply the filter to that?