Загрузка видео...

Не удалось загрузить видео

На главную

really simple trick to write better html

245,178 просмотров • 2 лет назад •via X (Twitter)

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

Фото профиля sh1vero
sh1vero2 лет назад

Keep in mind that using all:unset often removes all accessibility styling like focus rings. Might be better to use all:revert actually

Фото профиля Hank Taylor
Hank Taylor2 лет назад

But how do I center a div soup?

Фото профиля tomzaragoza
tomzaragoza2 лет назад

Completely off topic but what did you use to record that, captions and all

Фото профиля Sultan
Sultan2 лет назад

Another reason to love tailwind

Фото профиля sam
sam2 лет назад

Wish I found this a few weeks ago, when bootstrap was really messing with me 😂. Will use it in my current projects and future projects, “all: unset”

Фото профиля Gabor Juhasz
Gabor Juhasz2 лет назад

Just used this to turn a button into a text button. Worked great until I realized it unsets everything, even the globally applied box-sizing: border-box. So be careful

Фото профиля Aladdin
Aladdin2 лет назад

Great video

Фото профиля Jake Gonzales
Jake Gonzales2 лет назад

Be careful doing this because you may inherit parent styles instead. Unset acts as either inherit OR initial depending if the parent has that property set. all: initial; is more transparent. Even then you're now bypassing all of your resets/normalise CSS?

Фото профиля Saket Verma
Saket Verma2 лет назад

Sounds great i'll give it a try.

Фото профиля Lani ၊||၊ DeSpeed ၊||၊
Lani ၊||၊ DeSpeed ၊||၊2 лет назад

Bless you man 🙏🏼

Похожие видео