30 seconds of CSS

Other

Click on a snippet's name to view its code.

Calc()

The function calc() allows to define CSS values with the use of mathematical expressions, the value adopted for the property is the result of a mathematical expression.

Demo

View snippet

Custom variables

CSS variables that contain specific values to be reused throughout a document.

Demo

CSS is awesome!

View snippet