The CSS measurement guide you've been looking for.

Опубликовано: 17 Май 2026
на канале: Prof. Diego Pinho - Programação
465
38

CSS has several interesting units of measurement. Are you familiar with the main ones? In this lesson, we'll see in practice how to apply the main relative units, such as: rem, em, %, and much more!

🕓 Video Breakdown
00:00 Introduction
00:22 Pixels
02:19 rem (root em)
04:54 62.5% Hack
06:47 em
09:42 ch
11:59 Percentage %
14:39 vh and vw
16:43 Next steps (references)
18:04 Closing

📚 Article and source code
https://github.com/Professor-DiegoPin...

Connect with me and learn more!

🔗 Website: https://diegopinho.com.br
🤳 Instagram:   / profdiegopinho  
📰 Medium:   / profdiegopinho  

tags: #css #tutorialcss

---

About my channel:
If you've tried learning programming in every possible way but find it too difficult or that it's not for you, let me prove you wrong! I'm Professor Diego Pinho, I have over 10 years of experience in education and technology, and every day I help people like you learn programming in an uncomplicated way. I've already helped thousands of students learn and secure their places in the competitive technology market. Programming doesn't have to be boring, complicated, and abstract. It can be simple, objective, and fun! I'm here to prove it to you.

Some of the equipment I use here:
https://bit.ly/equipamentos-profdiego...