html{ display:none }
Wow, that solves all my problems!
Thanks!
We all have that feeling every once and a while
Why not just
* { display:none; }
For complete coverage ;)
That still doesn't fix your flag...
Was the purpose of this to illustrate what is valid in CSS, yet not supported by Mozilla? In my test, the DOM inspector showed the computed value for 'display' as none, but the content was still displayed. The same test worked correctly in Opera.
dolphinling, I know. But then I also know that :root{ display:none }
is not supported by Internet Explorer or Opera. Using the universal selector did not seem right to me.
Lachlan, I forgot about that. Which is stupid, since I filed a bug about that a few days ago.
At least this makes the website way prettier than many others out there - although still a bit boring. But I do agree with Jeff Minard, you get 100% coverage, and you save yourself 3 bytes.
And who says minimalist work is overrated? ;)
I think you can save yourself even more by just not having any CSS at all, and then not have anything in your HTML between the <body> and </body> tags. :)
Why don't we just stop with designing websites at all? That would make our problems disappear at once ;)
Why don't we just stop with designing websites at all? That would make our problems disappear at once ;)
It's certainly solved mine.