← CSSChallenge.com

Coding · Facts & stats

CSS facts & stats

7 fact-checked facts about CSS and styling web pages, each with the reason behind it. 5 more are in today's round and join this page after it closes.

Play today's round

The basics

What does CSS stand for?

AnswerCascading Style Sheets

CSS controls the look of HTML pages.

Which symbol selects an element by its id in CSS?

Answer#

#header selects the element with id 'header'.

Going deeper

Which declaration turns an element into a flex container?

Answerdisplay: flex

display: flex enables flexbox for its children.

Who first proposed CSS, in 1994?

AnswerHakon Wium Lie

Lie proposed CSS while working with Tim Berners-Lee at CERN.

Which selector type has the highest specificity of these?

AnswerAn ID selector

ID selectors outweigh classes, elements and the universal selector.

Expert level

What does position: sticky do?

AnswerActs like relative positioning until a scroll threshold, then sticks in place

Sticky elements stick once the scroll position reaches the offset.

In which year did CSS Level 1 become a W3C Recommendation?

Answer1996

CSS1 was published as a W3C Recommendation in December 1996.

Know these cold?Today's round is five questions like these, 20 seconds each. Your streak and level follow you to every arena.Play today's round