css-exam

0 votes, 0 avg
556

CSS Questions

1 / 15

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

2 / 15

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

3 / 15

3. In the below code snippet, in what order will the margins be added? p {
margin: 25px 50px 75px 100px;
}

4 / 15

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

5 / 15

5. Which Of The Following Selector Selects An Element That Has No Children?

6 / 15

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

7 / 15

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

8 / 15

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

9 / 15

9. What should be the table width, So that the width of the table adjust to the current width of the browser window?

10 / 15

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

11 / 15

11. Which model includes margin, border, padding, and content?

12 / 15

12. If a particular should never be overridden by another rule, the _______ indication should be used.

13 / 15

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

14 / 15

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

15 / 15

15. What is the correct syntax for referring an external CSS?

Your score is

The average score is 49%

0%

Scroll to Top