Enter Your Email Address to Watch This Lesson

Your link to unlock this lesson will be sent to this email address.

Unlock this lesson and all 833 of the free egghead.io lessons, plus get CSS content delivered directly to your inbox!



Existing egghead members will not see this. Sign in.

Just one more step!

Check your inbox for an email from us and click link to unlock your lesson.



Easily Reset Styles With a Single CSS value

1:13 CSS lesson by

There are times where you need to reset a an element’s styles. Instead of overwriting it with even more style declarations, you can simply reset them.

Get the Code Now
click to level up

egghead.io comment guidelines

Avatar
egghead.io

There are times where you need to reset a an element’s styles. Instead of overwriting it with even more style declarations, you can simply reset them.

Avatar
Robert Smith

This is a very neat trick that I was unaware of.
I think it's worth mentioning to the audience however, that this unfortunately is not supported on IE11 or below according to the Can I use database.

Avatar
Peter Broschwitz

Yes, i totally agree to @RobertSmith that it is important to know this property can't be used in project, where reliable xbrowser support is needed. It is a very interesting property nonetheless. http://caniuse.com/#search=unset

In reply to Robert Smith
Avatar
magnus anderssen

This course is broken.

from this url (https://egghead.io/lessons/css-easily-reset-styles-with-a-single-css-value)

The next segment is from a React course.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?