Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Does valid markup matter? Reply To: Does valid markup matter?

#268943
JeroenR
Participant

I guess the question is what you want to achieve by doing this.
I wonder for example why you want to set a list be a flex container when also set to display none. If you can’t see it, why would it have any other CSS properties? Except for when you want to toggle the display or something.

And why would you want to wrap the list items in another container when you already have the unordered list as a container?

So maybe you can add some explanation on what you want it to do?