5 ms·
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?
by kelukelugames 11y ago
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?
- she_moves_on 11y agoThe 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.
- acconrad 11y agoThese 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.
- collyw 11y agoAny 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.
- mcdoh 11y agoSame 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.
- quakenul 11y agoSome 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 :)
- simonlc 11y agoA 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.