elad2412 / the-new-css-reset

The New Simple and Lighter CSS Reset
https://elad2412.github.io/the-new-css-reset/
MIT License
2.26k stars 229 forks source link

Why reset inline elements <b> and <strong> to blocks? #74

Closed adi518 closed 1 year ago

adi518 commented 1 year ago

Seems unintuitive.

fabulousgk commented 1 year ago

I do not see any indication of this.

adi518 commented 1 year ago

It ended up not being an issue with my usage, but I did notice the computed CSS property is showing block, so it could still be an issue at some point.

fabulousgk commented 1 year ago

I just check in Firefox and Chrome and display is set to inline in the computed changes with only this reset applied.

adi518 commented 1 year ago

Will check again. Are you sure it doesn't point to the reset's revert prop?

fabulousgk commented 1 year ago

Even when I deselect that it is still inline. display: revert is to fix the block level elements that get set to inline by the main reset