Quiz: How well do you know CSS?

In the world of web development, CSS is often seen as a mystical language that is somehow both very easy and super complex at the same time. Almost everyone uses it on a daily basis, yet very few people can claim they really know what they are doing.

If you think you are a one of these true CSS masters, take the quiz and prove yourself. The questions will test your knowledge on various CSS properties, oddities, and common misconceptions.

CSS Quiz

When these elements are rendered, what will be the margin between them? margins.png

CSS Quiz

Which answer will transform the element from state A to state B? translate.png

CSS Quiz

Which selector will target only the last list item? last-child.png

CSS Quiz

What will be the final background-color of this div? red-vs-blue.png

CSS Quiz

What is the correct syntax for writing comments in CSS?

CSS Quiz

What's wrong with this :after pseudo-element? after.png

CSS Quiz

Which of these CSS properties isn't real?

CSS Quiz

Which nth-child() selector will target only the last list item? last-child.png

CSS Quiz

How can we center everything inside a container both vertically and horizontally? center.png

CSS Quiz

Which of these answers contains invalid CSS?

CSS Quiz

What will be the font size of the h1 element in pixels? em.png

CSS Quiz

Which combination of selectors will target only the uppercased element? siblings-selector.png

Great job!

.

Now make your friends jealous:

Answer

12 of 22

Presenting Bootstrap Studio

a revolutionary tool that developers and designers use to create
beautiful interfaces using the Bootstrap Framework.

Learn more
Web Browser Frame DevKit Box Mouse Cursor

Related Articles

Comments 1