Initial doesn’t do what you think it does

We often think initial sets something back to how it started, but it actually does a lot more than that. Often, we’re looking for unset or revert instead. 🔗 Links ✅ Codepen: ✅ Twitch: ✅ Additional reading: ✅ Other CSS behaviors that work in strange ways: ⌚ Timestamps 00:00 - Introduction 01:24 - What we are starting with and an aside about outlines 01:55 - A look at what initial actually does 04:50 - unset 07:11 - revert #css -- Come hang out with other dev’s in my Discord Community 💬 Keep up to date with everything I ... #Kevin_Powell #css #css_tutorial #front-end #frontend #html #initial #revert #tutorial 20210923 6UwISwr_yUo
Back to Top