News for hackers. Stuff that matters.
Re:No CSS Club – because no JavaScript was not hardcore enough by GoblinSlayer on Monday July 17, 2023 @05:38AM (#36755927)
And what if users want light or dark theme too. How do you guess it?
Re:No CSS Club – because no JavaScript was not hardcore enough by aeno on Monday July 17, 2023 @06:02AM (#36756088)
You don't have to guess. You can just use https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pref...
Re:No CSS Club – because no JavaScript was not hardcore enough by GoblinSlayer on Monday July 17, 2023 @06:35AM (#36756295)
How it plays with the idea of not passing responsibility to the user? User can request window width too.