css-exam

0 votes, 0 avg
550

CSS Questions

1 / 15

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

2 / 15

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

3 / 15

3. What scales the background image as large as possible?

4 / 15

4. Which of the following CSS Property defines which property values to apply to the element before the animation begins (if delayed) and after it ends?

5 / 15

5. Choose the option that correctly specifies the output of the following CSS. span {
border: 1px solid red;
outline: green dotted thick;
}

6 / 15

6. Which of the following property sets the background image to scroll or not to scroll with its associated element’s content?

7 / 15

7. The __________ rule makes it possible to define different style rules for different media types in the same stylesheet.

8 / 15

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

9 / 15

9. Which of the following CSS Gradient Functions sets the direction and colors of a gradient that fades from one color to the next in a straight line?

10 / 15

10. What should be the table width, So that the width of the table adjust to the current width of the browser window?

11 / 15

11. Which Of The Following Selector Selects An Element That Has No Children?

12 / 15

12. The CSS property that is equivalent to the align attribute is:

13 / 15

13. Which of the following CSS Property selects an animation defined in an @keyframes rule and applies it to the element?

14 / 15

14. In the below code snippet, in what order will the margins be added? p {
margin: 25px 50px 75px 100px;
}

15 / 15

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

Your score is

The average score is 49%

0%

Scroll to Top