Cannot remember the title of one of Kevin's videos

Can anyone remember one of Kevins videos where he was talking about how we often set margin top and bottom: on H and P tags which then causes an issues where we do not want margin tops on headings etc. He mentioned that there was a way to do this this with * ~ * or something similar? I hope that makes some kind of sense. Cheers.
4 Replies
b1mind
b1mind2y ago
Its kinda been deemed "Lobotomized Owl" and its
.class > * + * {}
.class > * + * {}
or rather its refered too lol I just love the name so I remember it.
glutonium
glutonium2y ago
what is it
Å Marlon G
Å Marlon G2y ago
Kevin Powell
YouTube
The secret to mastering CSS layouts
Deep dive this topic, and much more, in my course CSS Demystified: https://cssdemystified.com/?utm_campaign=css-relationships&utm_source=youtube&utm_medium=description 🔗 Links ✅ Why flex items with padding aren’t the same size (it’s an article, not video, sorry!): https://youtu.be/fm3dSg4cxRI ✅ Flexbox or grid - How to decide? https://youtu.b...
Å Marlon G
Å Marlon G2y ago
Lobotomized owl is the work of Every Layout. https://every-layout.dev/layouts/stack/
Want results from more Discord servers?
Add your server