Safari requires explicit styling for line-through on <s>
morganwdavis opened this issue · 2 comments
Perhaps include this in the README... I found that I needed to explicitly style the <s>
element with line-through for Safari. Just doing a revert (which worked on Chrome) was not enough.
s {
text-decoration-line: line-through;
}
The main idea of this new CSS reset is to delete almost 99 percent of the styles.
I think it is quite clear in the README part:
"This CSS reset is built from the understanding we don’t want to use the default style we are getting from the browsers, except the ‘display’ property.
This CSS reset removes all the default styles which we are getting on specific HTML elements except the ‘display’ property, as I already mention, and except special HTML elements like iframe, canvas, img, svg, video."
Yep. That's why I like it!
However, the README implies that revert will restore the browser styling. Apparently, that's no guarantee. That might be worthy of mention in the README.