CSS Questions

0 votes, 0 avg
561

CSS Questions

1 / 15

1. What changes the shadow from an outer shadow?

2 / 15

2.  Which of the following property influences the horizontal alignment of an element, making it “float” toward the left or right margin of its containing element?

3 / 15

3. Which of the following attributes is used to specify elements to bind style rules to?

4 / 15

4. What is not a valid way of declaring a padding value of 10 pixels on the top and bottom, and 0 pixels on the left abd right?

5 / 15

5. Which of the following is only for table elements?

6 / 15

6. What is the difference between display:none and visibillity:hidden?

7 / 15

7. 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.

8 / 15

8. Which of the following property will be used to display border around a cell without any content?

9 / 15

9. Which of the following Viewport Property determines whether the display can be zoomed in and out?

10 / 15

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

11 / 15

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

12 / 15

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

13 / 15

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

14 / 15

14. What is CSS?

15 / 15

15. What type of CSS is generally recommended for designing large web pages?

Your score is

The average score is 49%

0%

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

Scroll to Top