CSS Questions

0 votes, 0 avg
570

CSS Questions

1 / 15

1. Which Event Will Be Used When A Connection To The Server Is Opened.

2 / 15

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

3 / 15

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

4 / 15

4. Which of the following is not a browser-specific versions of linear-gradient()?

5 / 15

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

6 / 15

6. Which of the following CSS selectors are used to specify a group of elements?

7 / 15

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

8 / 15

8.  Which variable defines the data type of the content in CSS?

9 / 15

9. If we don’t want to allow a floating div to the left side of an element, which CSS property will we use?

10 / 15

10. The default value of “position” attribute is___________

11 / 15

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

12 / 15

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

13 / 15

13. Which of the following Property controls the display of small caps?

14 / 15

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

15 / 15

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

Your score is

The average score is 49%

0%

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

Scroll to Top