Skip to content

HTML hidden attribute overridden by ui class? #1361

Answered by lubber-de
ultimodruido asked this question in General
Discussion options

You must be logged in to vote

Yes, it's because any ui element changes the display css value which itself overrides any existing hidden-property

By adding the following small line of CSS code, you should be able to force the hidden-property to gain more respect

[hidden] { display:none !important;}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lubber-de
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1361 on October 06, 2020 22:05.