CSS 'all:' shorthand

Posted
Updated

> The all shorthand CSS property resets all of an element's properties (except unicode-bidi and direction). It can set properties to their initial or inherited values, or to the values specified in another stylesheet origin. MDN: all

I'm not sure if I'd ever want to use it, but this is how it works:

/* reset all css to default values */
.foo {
	all: initial;
}