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: unset: , fiveminutefriday I have a newsletter New to Sass, or want to step up your game with it I ve got a course. .., KevinPowell, tutorial, html, css, cssunset, cssall, unsetvalue, allproperty, allpropertycss 20181026 0GcTUor2ANw
|