Simplest CSS reset to prevent headaches

preview_player
Показать описание

#css

--

Come hang out with other dev's in my Discord Community

Keep up to date with everything I'm up to

Come hang out with me live every Monday on Twitch!

---

Help support my channel

---


---

I'm on some other places on the internet too!

If you'd like a behind the scenes and previews of what's coming up on my YouTube channel, make sure to follow me on Instagram and Twitter.


---

And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!
Рекомендации по теме
Комментарии
Автор

YouTube needs to add a way to save or favorite these shorts... simply amazing

marcialabrahantes
Автор

I'm a Frontend engineer and this is my the best subscription ever on YouTube.
Thankful!

UnknwnArtst
Автор

I just spent hours banging my head against a wall trying to get some images to resize properly. This saved me soooo many extra lines of code to get them right.

SkippyMcfee
Автор

This is so much better than my reset.css file. Really minimal. Thanks 4 sharing this sauce

mdnghbrs
Автор

I've been looking for a video exactly like this for so long. Thank you!

harrisonhutton
Автор

I was just wondering if you made a video about this. Thanks!

michaelanthony
Автор

I would also inherit the color style:

a,
button,
input,
::placeholder,
textarea,
select {
color: inherit;
}

or

*,
::placeholder {
color: inherit;
}

And the letter-spacing style:

button,
input,
textarea,
select,
pre,
::placeholder {
font: inherit;
letter-spacing: inherit;
}

or

*,
::placeholder {

font: inherit;
letter-spacing: inherit;
color: inherit;

}

andsheterliak
Автор

We can get enough of Css shorts ❤❤Thanks Kevin for sharing

ankitaburman
Автор

Always on point ☝️. Thanks for the reminder ☺️

mohammedmutawakil
Автор

Love the color scheme tag, thanks you again.

statuspremier
Автор

Amazing as always dude! Amazing as always!

eja
Автор

The Powell Reset: more minimal than Meyer, less opinionated than a full normalize, but a good starting point.

EvanEdwards
Автор

Thanks 👍 very much Mr. Kevin.
I've been waiting for such a video...

MoHafiz
Автор

Great Content, as usual, thank you so much for sharing it with us, I know how hard is to build a project then edit it, post...
Thanks🙏

DevMadeEasy
Автор

This goes to my saved items :) Thanks mate

atr
Автор

I feel like I got my xmas prezent!
Thank you!!

jaya
Автор

Compulsory dark mode for all users. They don't know what's good for them ;-)

adamuk
Автор

Can you do this instead of separating them:

*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
font: inherit;
}

aryzen
Автор

Do we need to use color scheme. Because i use toggle button for it.
Using root and variable

KSalvatore
Автор

Is there a reason not to throw the margin and paddings into the *::after/*::before selector?

stevenholdenpedersen