CSS can be infuriating at times. There are some really strange things that it does... BUT a lot of those infuriating things happen for a reason. Once you understand the *why*, not only does it make it less infuriating, but all of CSS just starts to become a bit more predictable and a lot more fun to write. 🔗 Links ✅ Codepen: ✅ Collapsing margins: ⌚ Timestamps 00:00 - Introduction 00:51 - Height as a percentage 03:50 - The space under images (and other replaced elements) 06:46 - Padding and margin top and bottom as a percentage 10:41 - “hack“ to boosting specificity #css -- Come hang out with other dev’s in my Discord Community 💬 Keep up to date with everything I’m up to ✉ https://www.k ... #HTML #CSS #kevin_powell #css_strange_behaviors #padding_as_percentage #height_as_a_percentage #space_under_images #tutorial #css_tutorial 20210914 kNtG5QZWFkM
Hide player controls
Hide resume playing