Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fallback with media queries #12

Closed
neysimoes opened this issue Mar 11, 2016 · 3 comments
Closed

Fallback with media queries #12

neysimoes opened this issue Mar 11, 2016 · 3 comments

Comments

@neysimoes
Copy link

I did create a fallback to responsive type work in Android 4- and Opera Mobile.
I need improve this code and add more features, but it's a idea to improve responsive type cross-browser.
http://codepen.io/neysimoes/pen/GZqBYy

@madeleineostoja
Copy link
Owner

Cool idea, would be fairly easy to output a 3rd media query with a fixed size in the middle of the range. But then question is where do you stop? I mean, why not output a media query at every x pixels?

Since you can just provide your own static fallback font-size, and fluid type is generally a progressive enhancement rather than a must-have (and if it is a must-have you can polyfill), I'd be hesitant to include something like this in the default output.

@neysimoes
Copy link
Author

We really need a new font size every x pixels? In fact we don't need this precision to create a responsive layout.
Could you determinate a precision to output or determinate media-queries to change font-size.

@madeleineostoja
Copy link
Owner

Sorry, that's what I was getting at, that we shouldn't have a whole bunch of media queries throughout the range. If you want to support legacy browsers I think polyfills are the way to go, not extra media queries that all browsers get lugged with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants