CSS3 Question:
Download Questions PDF

What is the CSS3 The background size Property?

Answer:

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;
}

Download CSS3 Interview Questions And Answers PDF

Previous QuestionNext Question
How to create Box Shadow and text Shadow using CSS3?What is the word wrap/word wrapping in CSS3?