3 ms·
This is more easily, faster and better done as a user stylesheet: a { color: blue !important; text-decoration: underline !important; text-d
by chrismorgan 5y ago
This is more easily, faster and better done as a user stylesheet:
a {
color: blue !important;
text-decoration: underline !important;
text-decoration-style: solid !important;
text-decoration-color: blue !important;
}
(Unfortunately, extensions like Stylus <https://github.com/openstyles/stylus https://github.com/openstyles/stylus> don’t handle user stylesheet priorities correctly: !important in a user stylesheet should override absolutely all site stylesheets, including inline style attributes. But because of lousy technical limitations, they load stylesheets at the site priority rather than the user priority. But then, what you presented doesn’t conquer a site !important spec anyway. See https://wattenberger.com/blog/css-cascade#origin https://wattenberger.com/blog/css-cascade#origin for a really good explanation of all this stuff.)