CSS Questions

0 votes, 0 avg
548

CSS Questions

1 / 15

1. Which one can animate the width of search input when get focus?

2 / 15

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

3 / 15

3. Which of the following CSS Gradient Functions creates a circular, and optionally sets its shape, size, and position?

4 / 15

4. Which of the following CSS3 property specifies the sequential navigation order for an element?

5 / 15

5. There are many properties that can be used to align elements and create page layouts such as float,postion,flexbox and grid. Out of these four properties, which one should be used to align a global navigation bar which stays fixed at the top of the page?

6 / 15

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

7 / 15

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

8 / 15

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

9 / 15

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

10 / 15

10. What is the way to specify media dependencies for style sheets ?

11 / 15

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

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 one of these is NOT an appropriate value for the font-variant property?

14 / 15

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

15 / 15

15. Which of the following will insert generated content in the counter?

Your score is

The average score is 49%

0%

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

Scroll to Top