CSS Questions

0 votes, 0 avg
570

CSS Questions

1 / 15

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

2 / 15

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

3 / 15

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

4 / 15

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

5 / 15

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

6 / 15

6. Which of the following is the correct syntax to display the hyperlinks without any underline?

7 / 15

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

8 / 15

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

9 / 15

9. What will be the output of the following CSS code snippet? span {
border: 1px solid red;
outline: green dotted thick;
}

10 / 15

10. Which of these would give a block element rounded corners?

11 / 15

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

12 / 15

12. Which of the following media query describe output style portrait if height is greater than or equal to width, landscape if the opposite?

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. Which of the following is used to specify the subscript of text using CSS?

15 / 15

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

Your score is

The average score is 49%

0%

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

Scroll to Top