Tuesday, May 30, 2017

Answers --- Interview Questions for CSS-5

Back

Q1. How to set an image in background?
Ans. The background image for a page can be set like this.
     
        Example: body{
                                     background-image:url('lion');
                                   }

Q2. What is an image-repeat-effect?
Ans.The background-image property reports and image both horizontally and vertically by default. If the image is repeated only one direction, the background will look better.

Example: body{
                           background-image:url('nature.png');
                            background-repeat:repeat-x;
                           }

Q3. What is use of background position effect?
Ans: Background-position effect is that when using a background image use an image that does not disturb the text.

Example: body{
                            background-image:url('nature.png');
                            background-repeat:no-repeat;
                            background-position:right top;
                          }


Q4. What is a background shorthand property?
Ans: The shorthand property for background is simply "background".

Example: body{
                            background:#ffffff url('nature.png') no-repeat right top
                          }

Q5. What is text transformation?
Ans:The text-transform property is used to specify uppercase and lowercase letters, or capitalize the first letter of each word.

Example: p.uppercase{text-transform:uppercase;}
                p.lowercase{text-transform:lowercase;}
                p.capitalize{text-transform:capitalize;}

Thursday, May 18, 2017

Interview Questions CSS-5

Q1. How to set an image in background?

Q2. What is an image-repeat-effect?

Q3. What is use of background position effect?

Q4. What is a background shorthand property?

Q5. What is text transformation?


Wait for Answers .......Till Next Post.....Interview questions' answers.

Check here for Answer.

Free Download PHP Interview Questions and Answers