3 ms·
Being able to produce nice, competent design requires a very different skill set from the one developer has. It's not our job to know what are complementary col
by amoitnga 8y ago
Being able to produce nice, competent design requires a very different skill set from the one developer has. It's not our job to know what are complementary colors, what is hierarchy etc. But when handed sketch/photoshop design it's part of my job to implement it.
It's not a coincidence that you brought up positioning.
> I can't center my divs properly.
I remember having a similar feeling. What made it click for me was searching for some articles like "how to master css".
Btw, just did that search and this is the article I remember I went over https://designshack.net/articles/css/5-steps-to-drastically-improve-your-css-knowledge-in-24-hours/ https://designshack.net/articles/css/5-steps-to-drastically-..., which is the first result.
Understanding how to position things I think was the biggest aha moment: floats, box model, the difference between positions such as fixed, static, absolute etc...
I think if you go over resources mentioned in that article you'll be good enough.
It feels like there is this idea that CSS is very simple, not a real thing, so we don't dedicate the time to learn it.
You wouldn't expect to be good with React after one day, would you? It takes time to learn js, having that base it's easy to pick up React in a few days. And then you read articles on best practices, staying up to date with new versions etc.
CSS requires much less, but still some time and effort. Treat it as technology, give few days, don't skip steps, just sit down and learn it.
You can't solve `x + 5 = 10` when you don't know what `2 + 2 = ?`
So don't try "hey, CSS, this is the parent div, and all child divs must obey its size" until you know what is the difference between absolute and relative position.