css-exam

0 votes, 0 avg
548

CSS Questions

1 / 15

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

2 / 15

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

3 / 15

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

4 / 15

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

5 / 15

5. Which one of these is NOT an appropriate value for the font-variant property?

6 / 15

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

7 / 15

7. Which selector do we use to specify the rule for binding some particular unique element?

8 / 15

8. Which of the following CSS Property defines which property values to apply to the element before the animation begins (if delayed) and after it ends?

9 / 15

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

10 / 15

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

11 / 15

11. Three of these choices are tue about class selectors. Which is NOT true?

12 / 15

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

13 / 15

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

14 / 15

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

15 / 15

15. Which of the following syntax is correct in CSS to make each word of a sentence start with a capital letter?

Your score is

The average score is 49%

0%

Scroll to Top