CSS Questions

0 votes, 0 avg
571

CSS Questions

1 / 15

1. The default value of “position” attrubute is?

2 / 15

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

3 / 15

3. Choose the option that correctly specifies the output of the following CSS. span {
border: 1px solid red;
outline: green dotted thick;
}

4 / 15

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

5 / 15

5. Which of the following property sets the background image to scroll or not to scroll with its associated element’s content?

6 / 15

6. Which of the following is the Color Format that is the CSS3 HSL value with a fourth value to set the alpha channel value for the color to define the opacity of the element?

7 / 15

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

8 / 15

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

9 / 15

9. Which of the following is used for spread radius?

10 / 15

10. In the following media query example, what conditions are being targeted? @media(min-width:1024px),screen and (orientation: landscape){…..}

11 / 15

11. How do you comment in CSS file?

12 / 15

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

13 / 15

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

14 / 15

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

15 / 15

15. What is the role of pseudo-class in CSS

Your score is

The average score is 49%

0%

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

Scroll to Top