CSS Questions

0 votes, 0 avg
551

CSS Questions

1 / 15

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

2 / 15

2. Which of the following selector in CSS is used to select the elements that do not match the selectors?

3 / 15

3. Which value specifies a transition effect with a slow start, then fast, then end slowly?

4 / 15

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

5 / 15

5. The CSS property used to set the distance between the borders of the adjacent cells in the table is__________

6 / 15

6. When using flexbox, the ‘justify-content’ property can be used to distribute the space between the flex items along the main axis. Which value should be used to evenly distribute the flex items within the container shown below.

7 / 15

7. The default value of “position” attribute is___________

8 / 15

8. What is the difference between the margin and padding properties?

9 / 15

9. Which of the following CSS property specifies the look and design of an outline?

10 / 15

10. Which CSS property is used for controlling the layout?

11 / 15

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

12 / 15

12. Which of the following selector selects an element if it’s the only child of its parent?

13 / 15

13.  Which of the following CSS property defines the different properties of all four sides of an element’s border in a single declaration?

14 / 15

14. Which property specifies where the background image is positioned?

15 / 15

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

Your score is

The average score is 49%

0%

Written by Shubhranshu Shekhar, who has trained 20000+ students in coding.

Scroll to Top