About 796,000 results
Open links in new tab
  1. CSS background-size property - W3Schools

    Definition and Usage The background-size property specifies the size of the background images.

  2. background-size - CSS | MDN

    Dec 16, 2025 · The background-size CSS property sets the size of the element's background image. The image can be left to its natural size, stretched, or constrained to fit the available space.

  3. background-size - CSS-Tricks

    Feb 17, 2015 · The background-size property in CSS is one of the most useful — and most complex — of the background properties. There are many variations and different syntaxes you can use for this …

  4. CSS background-size Property - GeeksforGeeks

    Jul 11, 2025 · The background-size property specifies the size of background images. It accepts values in pixels, percentages, or keywords such as cover (to ensure the image covers the entire element) …

  5. CSS background-size Property - W3docs

    The background-size is a CSS property which sets the size of the background-image. Read about the values and try examples for yourself.

  6. CSS Background Size (With Examples) - Programiz

    CSS Background Size CSS background-size property is used to control the size of an element's background image. For example, body { background-image: url("girl-illustration.png"); background …

  7. background-size - CSS Reference

    The background image will retain its original size. For example, this background image is 960px by 640px large. Its aspect ratio is 3 by 2. It's bigger than its container (which is 150px high) and will thus …

  8. CSS Style backgroundSize Property: CSS Background Size

    Feb 17, 2025 · A comprehensive guide to the CSS background-size property, covering syntax, values, and practical examples for controlling the size of background images.

  9. CSS background-size - Quackit Tutorials

    The CSS background-size property was introduced in CSS3 for the purposes of setting the dimensions of a background image. The background-size property allows you to specify exactly what size your …

  10. CSS - background-size Property - Online Tutorials Library

    CSS background-size property is used to set the size of the background image of the element. The background image can either be stretched, constrained or left to its normal size.