webDevs does display: none; worsen website performance or improves it. ππ
For further actions, you may consider blocking this person and/or reporting abuse
webDevs does display: none; worsen website performance or improves it. ππ
For further actions, you may consider blocking this person and/or reporting abuse
Rajnish -
PiterDev -
Prince -
Emre Gürsanç -
Top comments (5)
I don't think it worsens accessibility, when used correctly. Example: I have a Responsive Website where logo is changing with srcset in picture-tag and I use display:none for the pages where the logo is not to be shown in the flow of the page. I can't imagine any other way to do that as easy as with display:none in the specific css for those pages.
It worsens accessibility.
Accessibility: I think it depends on how it is used
Absolutely, it is one of the most mis-used CSS props.
I totally agree