Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

Use CSS @media width selectors to work on mobile browsers #113

Open
ExE-Boss opened this issue May 10, 2017 · 4 comments
Open

Use CSS @media width selectors to work on mobile browsers #113

ExE-Boss opened this issue May 10, 2017 · 4 comments
Labels
Milestone

Comments

@ExE-Boss
Copy link

By using CSS @media min-width and max-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:

@ExE-Boss ExE-Boss changed the title Use CSS @media width selectors to work on mobile displays Use CSS @media width selectors to work on mobile browsers (not the app) May 10, 2017
@Maltroth
Copy link

Maltroth commented May 10, 2017

Reddit does not accept the @media query. The stylesheet is simply denied when submitted.

@sebj
Copy link
Contributor

sebj commented May 10, 2017

Are you sure? We're using @media with max-width, min-width and pixel density queries with no issue on r/CompetitiveOverwatch.

@Maltroth
Copy link

Wow, my bad, last time I tried it didn't work, this is life changing.

@ExE-Boss
Copy link
Author

If Naut manages to implement this before the CSS removal, it might be another reason for the Reddit admins to reconsider removing CSS.

@EthanC EthanC added Naut 5 and removed enhancement labels Sep 17, 2017
@EthanC EthanC added this to the Naut 5 milestone Sep 17, 2017
@EthanC EthanC changed the title Use CSS @media width selectors to work on mobile browsers (not the app) Use CSS @media width selectors to work on mobile browsers Sep 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants