Home »

What is the CSS3 The background size Property?

Question ListCategory: CSSWhat is the CSS3 The background size Property?
jessica537 author asked 9 years ago
1 Answers
alisataylore190 author answered 9 years ago

Global Guideline . COM Read
The background-size property specifies the size of the background image.

As we know Before CSS3, the background image size was find out by the real size of the image. In CSS3 it is possible to specify the size of the background image,

which allows you to re-use background images in different ways.

.pcdsbp1

{

background:url(background.gif);

-moz-background-size:80px 60px; /* Firefox 3.6 */

background-size:80px 60px; /* or we can do background-size:100% 100%;*/

background-repeat:no-repeat;

}

Please login or Register to Submit Answer