Do you really know CSS?
1. initial : default value
https://developer.mozilla.org/en-US/d...
2. inherit: computed style from parent
https://developer.mozilla.org/en-US/d...
3. unset: initial for non-inheritied property , inherit for inheritied property
https://developer.mozilla.org/en-US/d...
4. revert:
in author origin : revert to user origin → default style
in user origin: revert to default style.
https://developer.mozilla.org/en-US/d...
notice that: initial value is not the same as `default style`., Default style is from browser, like Heading tags, they don't have `font-weight:bold` as initial value, but as a default value from Default style.
Hi I'm a JavaScript engineer who is not good at algorithms,
and currently practicing leetCode & BFE.dev. If you are interested, maybe we can learn together.