News for hackers. Stuff that matters.
Re:A Collection of CSS Tips by kelukelugames on Monday December 14, 2015 @10:44AM (#10731616)
I'm bad a css. It takes me hours to clobber together a bootstrap page. Can a real pro tell me if these tips are good?
Re:A Collection of CSS Tips by she_moves_on on Monday December 14, 2015 @10:49AM (#10731654)
The use cases are mostly really specific. Rather than focus on "tips" like this, I think "best practice" guides are much more helpful. Actually thinking through questions like how much should I link my DOM to my CSS (e.g., #container > p vs p.class_name) is generally more helpful imo than specific tasks that you can google.
Re:A Collection of CSS Tips by acconrad on Monday December 14, 2015 @11:03AM (#10731756)
These tips are neat but are not going to make you a pro. What will make you a pro is understanding the box model, colors / gradients, and selector preference/scope.
Re:A Collection of CSS Tips by collyw on Monday December 14, 2015 @01:46PM (#10732924)
Any suggestions for good places to read up on these? I am a 90% back end dev that needs to delve into front end from time to time. I never feel like I understand CSS.
Re:A Collection of CSS Tips by talmand on Monday December 14, 2015 @03:28PM (#10733571)
Re:A Collection of CSS Tips by S4M on Tuesday December 15, 2015 @06:14AM (#10737117)
Maybe it will be too easy for you, but have you checked the html/css course on codeacademy.com ?
Re:A Collection of CSS Tips by quakenul on Monday December 14, 2015 @12:05PM (#10732236)
Some good, some questionable.

Being pro in css however lies within writing readable, maintainable, well documented css and these tips focus on none of that and will not make you any more or less pro than you were before reading them :)

Re:A Collection of CSS Tips by mcdoh on Monday December 14, 2015 @11:14AM (#10731846)
Same here, I've mainly learned from just guess and check. Any tutorials I've tried (admittedly not many) are too basic and haven't given me a good mental model of how to approach a problem with CSS.
Re:A Collection of CSS Tips by simonlc on Monday December 14, 2015 @12:20PM (#10732354)
A lot of these are actually bad practice, or things you should already know. Before you use any of them, you should research each of the rules separately to see how they work.

Code maintainability is #1 in css, and is the hardest thing to do. The main focus should be on that, and not trying to be clever or tricky.