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
[Question] Breakpoints #48
Comments
Hi Daniel, Thanks for the kind words. It's always nice to know that someone appreciates your work :) I have thought about adding another breakpoint but each one generates quite a lot of CSS (most of the CSS is grid based) and I've tried to limit it to things I've found that I've needed so that the framework can remain small. Truth be told I've never actually found that I've needed a smaller breakpoint that the lowest one and I've been building websites using the framework for nearly two years now. The example you've set in your question hasn't come up as a design issue (maybe I'm just lucky). You could in theory add a new level in the Sass files and build a custom version but that would take a lot of work, building and testing. There would be a few tweaks required in the JavaScript to ensure that grid detection mechanisms are maintained also. I think if it was ever to happen it would do so in v4 so we can ensure that any compatibility issues that were raised could be dealt with appropriately. I'll close this for now but keep it in mind when I move on to building v4 of the framework. |
@JimBobSquarePants thanks for your response. Yeah, I thought it might be a long shot, as when I had a look at the code etc & saw what would be needed to do this, I was a bit put off myself ;) No problems - I've managed to achieve what I needed by tweaking the BPs in the You just feel though that with soooo many devices around now, there might have to be one or two more BPs added for a little more flexibility in future versions, but for the time being, it works great as is. Keep up the good work :) |
Thanks. :) I'm glad you found a workaround just now. I think for v4 I might be able to trim the fat a little as I will probably drop IE8 support for that so hopefully I can add an xxs and xl breakpoint then. |
Yeah sounds good. It's just because there are so many devices below I think the rest of the BPs are spot on, just need that |
I use ResponsiveBP for general apps. I really apreciate the coding approach and attention to accessibility. @DanielHitchen There is a similar project with more breakpoint options you might look at: https://github.com/dfcb/extra-strength-responsive-grids It uses a different approach with more breakpoint options, though perhaps not as accessible. Alas, sometimes one has to compromise when targeting apps for small devices. HTH cheers. |
@tekbasse Overall I'm very happy with the responsiveness that this framework offers, just one or two more BP below 768px would be a nice addition. With so many devices these days, one BP to cover them all is a little restricting, but as I've mentioned above, by tweaking the BP widths in the It's not an urgent request by any means, but giving the developer an little extra flexibility can't be a bad thing, then it would be up to the developer to decide what they use & how - it's just nice to have options :) |
Thanks @tekbasse. @DanielHitchen I've reopened the issue so I don't forget this and assigned it to the v4.0.0 milestone. I think going with one smaller grid would be the correct idea but I would probably re-assign that as As far as I can see there's no way I can add a new breakpoint without risking breaking someones site on upgrade so I'm going to have to wait until the major version. If either of you can figure out a better way I'm all ears though. 👂 |
You could just assign it as I tend to use a BP @ 500px for mobiles (could be |
Unfortunately not. The base visibility helpers and grid breakpoints go from 0 to 48em which means that any grid set with the
Will be rendered at 50% of the viewport width from the ground up. If I then put another smaller breakpoint in at a smaller width the
|
Fixed with v4. We now have an extra breakpoint at 37.5em. http://responsivebp.com/css/grid/#mediaqueries |
Hi, Love this framework by the way, great alternative to TwitterBS & Foundation, without the bloat :)
Just one question, the minimum breakpoint for the grid is set to
Up to 48em (768px at 16px/1em)
usingcol-xs-XX
for example, is there any chance we could get 1 or 2 more BPs before this for smaller devices?For example, for devices smaller than
768px
in width i.e smaller tablets or landscape smartphones (iPhone5 for example), I may want to keep a 2 column layout and only go to a single column layout when the device width is320px
, whereas at the moment, it's a single column layout for ALL devices up to768px
.Maybe set another BP at
Up to 37.5em (600px at 16px/1em)
to catch landscape iPhones & vertical small tablets, and again atUp to 30em (480px at 16px/1em)
to catch all mobile devices – maybe using classes ofcol-xxs-XX
andcol-mob-XX
?I hope that all makes sense. Just feel that having a few extra options below
768px
would be helpful :)PS. If i've missed something in the docs that achieves the above, I apologise in advance.
The text was updated successfully, but these errors were encountered: