2 ms·
They override the CSS attributes that don't fit what they are doing now, but changing the defaults would introduce new attributes, which may not presently be ov
by marginalia_nu 4y ago
They override the CSS attributes that don't fit what they are doing now, but changing the defaults would introduce new attributes, which may not presently be overridden.
- BrainVirus 4y agoThe modern approach is to do a universal rest: *, *:before, *:after { all: unset; display: revert; box-sizing: border-box; }
- marginalia_nu 4y agoWould that actually work as a safeguard against this? What you're reverting and unsetting to is the very defaults we're talking about changing.
- marcosdumay 4y agoAs I understand it, it won't protect you. What will protect is actually setting the value (and most sites do that, at least for those few commonly changed ones with bad defaults).