@[email protected] to xkcdEnglish • 3 months agoxkcd #3026: Linear Sortxkcd.comexternal-linkmessage-square12fedilinkarrow-up1126arrow-down10file-text
arrow-up1126arrow-down1external-linkxkcd #3026: Linear Sortxkcd.com@[email protected] to xkcdEnglish • 3 months agomessage-square12fedilinkfile-text
minus-square@IronfacebusterlinkEnglish7•3 months agoIt actually does, there’s “@media” which lets you query stuff about the browser like if it’s touchscreen vs mouse (and maximum/minimum width/height) Example: @media screen and (max-width: 1300px) { do stuff for screens less than 1300px }
It actually does, there’s “@media” which lets you query stuff about the browser like if it’s touchscreen vs mouse (and maximum/minimum width/height)
Example:
@media screen and (max-width: 1300px) { do stuff for screens less than 1300px }