11 CSS secrets you need to know in 2020

CSS tricks
(Image credit: Aga Naplocha)

Even if you're familiar with CSS and building beautiful layouts, you can still discover new CSS properties and features. By using them, you have more influence on how the content behaves on the website, as well as having more freedom in terms of how you apply creative techniques to elements such as photography.

In this tutorial, we are going to dig into some lesser-known properties. When experimenting with them, please bear in mind that mentioned features are not supported by all the browsers, so it's worth checking them out on the Can I Use site. Let’s dive into some short and concise examples.

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

Aga is a designer and frontend coder at Adobe. She’s the co-founder of The Awwwesomes – a non-profit organisation that teaches people to do awwwesome things on the web, and organises coding workshops in Poland.
Latest in CSS
css secrets
11 CSS secrets you need to know in 2020
12 tips for amazing CSS animation
CSS Houdini
CSS Houdini: All you need to know about the hottest APIs
State of the art CSS
8 state-of-the-art CSS features (and how to use them)
Bulma
Get started with Bulma
The best CSS frameworks
10 best CSS frameworks in 2020
Latest in Features
Nintendo and AI art; a vibrant illustration showcases a large group of popular video game characters, seemingly from the Mario franchise
Mario and Zelda creator rejects AI to "find what makes Nintendo special" – what we can all learn from Shigeru Miyamoto
Selection of Guinness ads throughout the ages
The best Guinness adverts of all time – from the toucan to a singing pint
Tina Touli headshot
"The 9 to 5 work routine was draining my creativity”: a day in the life of Tina Touli
Promise Mascot Agency;
How Ikumi Nakamura's 'art bible' helped create Promise Mascot Agency's grotesque mascots, and why collaboration in indie game development is vital
Stanley 'Artgerm' Lau discuses AI; a digital illustration showcases a stylised female figure, reminiscent of a comic book superhero, likely Supergirl, with vibrant colours and a dynamic pose
"In the future, there will be fewer artists like me – real artists" says Stanley 'Artgerm' Lau as he reflects on the dangerous impact of AI on art
Pittura, a short film made at ArtFX
"We wanted to talk about AI and its relationship to art" – how we made 2025’s VES Student Award-winning animation Pittura