another CSS question
another CSS question
- Started
- Last post
- 9 Responses
- capn_ron
I want to learn CSS. Can someone recommend a book or site that can get me started. I am really interested in how clean it makes the coding.
Any help would be appreciated.
- acescence0
this is a good book, probably something more up-to-date now though..
- capn_ron0
nice, thanks 7! that looks like a lot of info to get into.
- Jnr_Madison0
- i checked that out but don't want to become a member? am i missing something?capn_ron
- you need to pay, it's worth it.Jnr_Madison
- hans_glib0
anyone with any experience of css flexbox?
is it kosher?
is it too new to be safe to use?- rather than start a new thread, take a 10 year bump!hans_glib
- Your users should tell you.
https://caniuse.com/…wordssssss - crap. Go with CSSGrid - more powerful newer and awesome.shapesalad
- shapesalad, you've no clue what you're talking about. flex and grid are both used in different situations. one vs two-dimensional layouts.Milan
- Flexbox is kosher, and more supported than CSS Grid; In fact it is a fallback for CSS Grid (at least for the moment)evilpeacock
- Milan's comment should be noted as well since Flexbox only works horizontally, whereas CSS Grid is a full horizontal and vertical means of layout.evilpeacock
- https://css-tricks.c…evilpeacock
- Ummm... that's not quite correct. Flexbox can work horizontally OR vertically, but just one dimension at a time. Yes, grid can do both at the same time.ETM
- Flexbox is hella useful when used for appropriate tasks. I design components with it endlessly.ETM
- Yes flexbox. Save yourself some time and use Bootstrap's "grid only" css file, which implements it wonderfully.section_014
- It's great, vertical centering of things used to be a pain. Flexbox is safe and very efficient.Calderone2000
- cheers all. CSS grid looks way more than i need for the moment.hans_glib
- ffs, Css Grid ISN'T 100% ready for primetime - it might perhaps be for your clients (check stats), but if you can use flexbox, use that instead.Nairn
- I'm sitting on the fence with it - I check stats every ~2 months and there's still a hodgepodge of browsers versions, including Safari & Chrome that don't do itNairn
- hodgepodge = 9% last time I checked.
I can't wait to use it, but as equally I can't shit on near 10% of customers with broken layouts.Nairn - If you don't already have it, add that CanIUse site that wordssss posted to your bookmarks, hans.Nairn
- flex box does just what i need. i guess if it fails on older browsers, then tough...hans_glib
- dee-dubs0
Yeah been using it for a while, pretty good support unless you need to have site running in really old browsers
- BabySnakes0
also be careful with styling objects nested deep in an element set as display: flex.
display:block works different when inside a flex.