Comments (3)
We might want to take a look at the link @taha posted recently: http://davidwalsh.name/sass-media-query and get a few ideas.
from neverbuild.
As suggested by @maximebonhomme I like the way Foundation Framework deals with media queries: http://foundation.zurb.com/docs/media-queries.html
As an example:
$medium-range: (40.063em, 64em); /* 641px, 1024px */
$large-range: (64.063em, 90em); /* 1025px, 1440px */
$medium-up: "#{$screen} and (min-width:#{lower-bound($medium-range)})" !default;
$large-up: "#{$screen} and (min-width:#{lower-bound($large-range)})" !default;
from neverbuild.
I like it. Simple enough to keep neverbuild as bloat-free and flexible as possible. I love that it applies on browser zoom as well. @taha had no objections either, so we're all 👍 with it. Wanna take this, @Grsmto?
from neverbuild.
Related Issues (20)
- Add a README.md file
- Use Bitters instead of our own _base.scss HOT 2
- Check that Create React App doesn't block Google crawler
- Add image optimisation
- Set main.scss node_modules path as relatives HOT 1
- Add BEM doc HOT 1
- Add sass-lint HOT 1
- Don't define specific font-size for p tag HOT 2
- ESLint and .sass-lint should live in the same place
- Fix duplicate output in the build
- Remove duplication of ESLint location mentions in Webpack AND package.json HOT 1
- Use polyfill.io ? HOT 5
- Change location of /public folder to /src
- Check Sass version locally installed HOT 1
- Remove hardcoded homepage in package.json
- Add required Node version to package.json HOT 1
- Switch to babel-preset-env HOT 2
- Use Prettier HOT 1
- Add support for Srcset using a polyfill
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neverbuild.