Bulma: Modern CSS framework based on Flexbox
github.com
github.com
That's a big step backwards from bootstrap's col-breakpoint-width, IMO.
It also fails to address nesting columns within each other.
This feels more like a rudimentary grid system that happens to have some button styles, rather than a "framework".
If you want a bootstrap-like grid experience with flexbox and sans the bloat, I've had a decent experience with this: http://flexboxgrid.com/
Intended behaviour is that you're writing paragraphs of <p>, then a <p> that you wish to annotate, then the <aside>, then some more <p>.
The aside should be, well, on the side. In the margin.
So far, with floating <aside> you need to have the <aside> before the <p> that it belongs to, which is semantically false.
I had hopes with Flexbox to finally solve this issue, but it doesn't look possible, because if you imagine it as a big grid of two columns, the text would have to flow through only the left column, while only the <aside> would have to be pushed to the right column.
https://jsfiddle.net/sadz6va6/
Disclaimer: New to flexbox myself. Might have committed some sins.
Even css? Come on!
2. https://github.com/ButaneCSS/butanecss
4. http://bowlingx.github.io/flexcss
5. http://codepen.io/geoffyuen/pen/ogrPbZ
6. https://github.com/meerita/flexsasscandy
7. http://getmdl.io/components/index.html#layout-section/grid
8. https://kevinpy.com/Projects/Flexo
9. http://philippkuehn.github.io/gridilydidily
11. https://github.com/IonicaBizau/gridly
12. https://github.com/colourgarden/avalanche
13. https://milligram.github.io/
14. https://github.com/ButaneCSS/butanecss
15. http://bulma.io/documentation/grid/
16. http://gridlex.devlint.fr/
and that's but a fraction of the full list.
I haven't bothered to sit down and actually assess whether these flexbox grids actually differ from each other (my gut says that it's not possible for them to differ too much). My gut also tells me that there has to be an apex, an optimal Flex-based grid from which there can be no improvement.
I think a big part of the problem of why websites all look a bit similar is because they're all developed using Bootstrap, Bourbon or Foundation, and apparently on the rare occasion where a front-end framework is not used, an offshoot or "heavily-inspired by" alternative is used instead.
Nobody is thinking about what /could/ be, but rather what can be done in the least time to produce the best approximation of a contemporary website. Nobody wants to push the boundaries. Maybe we've reached an optimal paradigm for the design and layout of websites. I don't think so.
I always implement my own CSS, mainly because I really don't like carrying frameworks around. If I need all of a framework's features, I'll consider using it. Since I never need all of a framework's freatures, that never happens. If I ever do need a full front-end framework's worth of features, here's a framework that seems flexible, modular and solid to me: http://www.basscss.com/
and if you want a great grid, look at this: http://peterramsing.github.io/lost/
and if you want to wait for a more powerful future grid tool, investigate the CSS Grid Spec:
http://gridbyexample.com/examples/page-layout/
http://abookapart.com/products/get-ready-for-css-grid-layout
https://24ways.org/2015/grid-flexbox-box-alignment-our-new-s... https://rachelandrew.co.uk/archives/2015/11/03/three-years-w... https://rachelandrew.co.uk/archives/2015/04/14/grid-layout-a...
I can simply sprinkle CSS classes around and then ask someone to create a Bootstrap theme for me.
Masonry is something I'd love to implement in pure CSS, but it's not really possible. You need to know the heights and then be able to position your grid items absolutely, it's not something that can be done dynamically without using JavaScript.
You can use CSS3 Columns, but then your content is going to be displayed in a counter-intuitive order. It works great for a photo grid or Pinterest-style site, but most cases require some kind of intuitive display order. I am especially thinking of e-commerce, where it's imperative to offer the end-user the ability to sort products alphabetically, and search results in terms of relevance or whatever.
- first, the elements being selected are all angular directives like `md-content`, `md-button` -- not a dependency on Javascript but clearly targeting a JS app
- a second theme stylesheet is dynamically generated and injected into the head
None of these are strict requirements -- I've extracted the stylesheet and repurposed it for my own projects.
- PostCSS (with plugins: cssnext, variables, mixins, nested, autoprefixer)
- Lost Grid
- Typographic (http://corysimmons.github.io/typographic)
- Boy - if I had to support legacy browsers (https://github.com/corysimmons/boy)
Anyway, I managed to quickly style it with Bulma yesterday, and I think it looks nice: https://dl.dropboxusercontent.com/u/130414/elm-doc-mgr/index...
I haven't used flexbox ever myself. Could someone summarize why flexbox makes this framework effective?
The 3 "holy shit we needed this before!" features IMO are: vertical centering, height matching (if you have 3 columns in a row, and one has more text, all 3 columns will have the same bottom position), and the ability to evenly distribute objects across space.
check this out for more: https://css-tricks.com/snippets/css/a-guide-to-flexbox/
caveat: flexbox support, while passably good, is still shaky in places.
Ever tried to center something vertically? Flex box does it easily. Is also makes it easier to do responsive layouts, with much simpler markup and styling.
There just can't be that many people browsing the web with IE 8 and 9. Additionally, we need to draw the line somewhere, especially given how much easier flexbox makes front-end styling.
IE 7: 0.05%
IE 8: 1.18%
IE 9: 0.91%
IE 10: 0.87%
IE 11: 6.45%
Edge 12: 0.67%
Edge 13: 0%
Edge 14: 0%
For comparision: Chrome 47: 20.46%
Chrome (Android) 47: 17.45%
The full list: http://caniuse.com/usage-tableIE 8, IE 9 and IE 10 are still more widely used than Win10 with its Edge browser.
Don't use flexbox for your start page, especially if you want to do business (SaaS). It will be completely broken in IE8/9 and look like shit. Corporate managers will close your website instantly.
In fact, a usable desktop view for IE9 is relatively easy to frig with %widths and a handful of padding hacks.