Remove all styling with one line of CSS

Happy Friday! To celebrate the coming weekend, let’s learn how we can remove all styling from an element with a single line of CSS. We do this with the ’all’ property, which does as it sounds, and controls all (or everything). It’s as if you selected every single property for your selector. Then, we can reset everything with the ’unset’ value, which unsets the values, changing them either to inherit or initial, whichever their default is. This effectively strips all formatting away from your selector and gives you a fresh start to style with. BROWSER SUPPORT all: #search=all unset: #search=unset #fiveminutefriday --- I have a newsletter! New to Sass, or want to step up your game with it? I’ve got a course ... #Kevin_Powell #tutorial #html #css #css_unset #css_all #unset_value #all_property #all_property_css 20181026 0GcTUor2ANw
Back to Top