CSS Questions

0 votes, 0 avg
543

CSS Questions

1 / 15

1. Which of the following CSS property defines how an image or video fits into container with established height and width?

2 / 15

2. When adding transparency styles, what is the difference between using the opacity property versus the background property with rgba() value?

3 / 15

3. Which one of these is NOT an appropriate value for the font-variant property?

4 / 15

4. What will be the output of the following CSS code snippet? span {
border: 1px solid red;
outline: green dotted thick;
}

5 / 15

5. How would you make the first letter of every paragraph on the page red?

6 / 15

6. Identify the outline property that specifies the amount of area extended beyond the border box.

7 / 15

7. Which of the following is used for spread radius?

8 / 15

8.  Which of the following will display a speech bubble pop-up?

9 / 15

9. What is CSS?

10 / 15

10. Suppose we want to arrange 5 no of divs so that div4 is placed above div1. Now, which css property will we use to control the order of stack?

11 / 15

11.  Which of the following Media Query describe the ratio of the device width to the device height of the media?

12 / 15

12. What will be the output of following CSS code snippet? h1 {color: red text-decoration: underline; font-style: italic;}

13 / 15

13.  Which of the following selector matches the name of any element type?

14 / 15

14. In the example below, when will the color pink be applied to the anchor element? a:active{ color:pink; }

15 / 15

15. What is the role of pseudo-class in CSS

Your score is

The average score is 49%

0%