Open ExE-Boss opened 7 years ago
Reddit does not accept the @media
query. The stylesheet is simply denied when submitted.
Are you sure? We're using @media
with max-width
, min-width
and pixel density queries with no issue on r/CompetitiveOverwatch.
Wow, my bad, last time I tried it didn't work, this is life changing.
If Naut manages to implement this before the CSS removal, it might be another reason for the Reddit admins to reconsider removing CSS.
By using CSS
@media
min-width
andmax-width
selectors one can make a stylesheet apply a different layout based on the display size. This is used by Twitter’s Bootstrap to make the stylesheet work on both desktop and mobile.External links: