Stop using pixels in your CSS! How and why to use REM and EM.

Stop using pixels in your CSS! How and why to use REM and EM.

Ian Lenehan

2 года назад

17,320 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@dcts7526
@dcts7526 - 01.11.2023 23:43

So we are just gonna ignore how the "Hi there!" suddenly flew out of that container? How to solve this?

Ответить
@psychoop9713
@psychoop9713 - 23.10.2023 20:03

❤❤

Ответить
@user-xy1zw2dn9i
@user-xy1zw2dn9i - 28.08.2023 21:43

Your video was truly helpful and gave me a better understanding of rem's role. If possible, could you please share more practical examples? Thank you in advance.

Ответить
@mostafagh3573
@mostafagh3573 - 11.07.2023 09:53

wow, thank you so much. great video!

Ответить
@user-nh5cj2uq7o
@user-nh5cj2uq7o - 26.05.2023 17:19

شكرا كان الشرح مفيدا

Ответить
@bruhmoment3731
@bruhmoment3731 - 03.02.2023 23:59

Thank you! This is great!

Ответить
@VadimCool
@VadimCool - 15.01.2023 06:03

The title of this video suggests to stop using pixels. Is that a click-bait? It's like saying to people to stop eating oranges and stick to eating apples. There is a reason why pixels exist. And what has been shown in this video would not provide a desirable outcome on certain platforms where consistency is key. So in this case I could say that if you want to lose total control of your design, then use REM or EM. But if you want to stay in control of it as a developer and not as a user, then use PX. Users often times don't know how to properly use a website and stay in control of it. So therefore it is the job of the developer to make sure that everything is where it is suppose to be and not jumping all over the place as they see it fit. 🙂

Ответить
@MrVishalGaikwad
@MrVishalGaikwad - 15.01.2023 02:11

Thanks for this. Cleared many doubts for me. Simple & Effective explanation.

Ответить
@Anonym12351
@Anonym12351 - 07.01.2023 21:09

How are you able to type and use the curly brackets on a mac?
I have the new macbook air and cant even use them...

Thanks.

Ответить
@JP-gg2gk
@JP-gg2gk - 29.12.2022 11:37

Dude , one doubt... can i use rem in all cases that we use px ?

Ответить
@mohamedsalimbensalem6118
@mohamedsalimbensalem6118 - 20.12.2022 12:59

thank you so much now i know why my website sucks when i zoom out for more then 100%

Ответить
@hanac5586
@hanac5586 - 16.11.2022 01:36

Amazing explanation! This cleared things up a lot. Thank you so much 🫂

Ответить
@jonathanpodkomorka9679
@jonathanpodkomorka9679 - 06.11.2022 00:24

Great simple example, thank you!

Ответить
@Ioremipsumdolorsitamet
@Ioremipsumdolorsitamet - 25.10.2022 08:55

thank you :)

Ответить
@shahidullahmuffakir668
@shahidullahmuffakir668 - 15.10.2022 09:28

Oh man you deserve millions subscriber❤

Ответить
@reynandelizo1480
@reynandelizo1480 - 14.10.2022 23:08

I have a question about media queries max-width why we need to use em instead of px?

Ответить
@juannpablo4322
@juannpablo4322 - 01.09.2022 14:22

Nice content thank you ! Should we use rem for margin and padding too ? I’ve seen websites doing this

Ответить
@bibekdhkl
@bibekdhkl - 15.04.2022 14:32

Thank you, after about 2 years, Finally I understood it fully :)

Ответить
@2slimj
@2slimj - 24.03.2022 15:05

Wow. Most tutorials just say REMs and EMs are better practices without any explanation. But you showed the why. Thanks alot

Ответить
@oseniadedoyin1044
@oseniadedoyin1044 - 04.10.2021 14:43

Great content ...

Ответить
@MrAjayz
@MrAjayz - 17.09.2021 23:35

Great work on your video

Ответить