News for hackers. Stuff that matters.
Re:Ask HN: CSS for developers by volandovengo on Friday July 06, 2018 @08:53AM (#17470974)
Quick question: Have you tried to formally learn CSS?

I think you can get by with layouts on 80% knowledge from just tweaking things but to really be able to go start to finish on a frontend layout, I would suggest investing the hours to know things like what the difference is between a fixed, absolute and relative positioned element or the difference between padding and margin.

There are plenty of youtube series and the like, they just require the investment of time.

Re:Ask HN: CSS for developers by spapas82 on Friday July 06, 2018 @09:05AM (#17471039)
Most of these things (absolute, fixed, relative and static layouts or padding/margin/border and the boxing model) I know. The problem (I think) is that I can't get the full picture.

As you say, I want to avoid tweaking things and using trial and error to fix things :/

Formally learning CSS as you propose is a path that is time-consuming but with high success probability so I may try it. Could you recommend me anything for that path? I'd really prefer reading instead of watching videos.

Re:Ask HN: CSS for developers by volandovengo on Friday July 06, 2018 @02:11PM (#17473752)
Would recommend going through Shay Howe's course. He covers the subtleties well.

https://learn.shayhowe.com/

Re:Ask HN: CSS for developers by spapas82 on Friday July 06, 2018 @03:03PM (#17474220)
Thanks!
Re:Ask HN: CSS for developers by shay-howe on Monday July 09, 2018 @03:48PM (#17492894)
Let me know if you have any questions too, I'm always happy to help!
Re:Ask HN: CSS for developers by spapas82 on Monday July 09, 2018 @04:12PM (#17493069)
Hello Shay, thank you very much! The content on your site is excellent; I have read the Course 101 and already feel much more confident on my CSS skills (and especially the really confusing things like floats and positioning).

Really great work!

Re:Ask HN: CSS for developers by shay-howe on Wednesday July 11, 2018 @11:40AM (#17507758)
Thanks, I really appreciate it and that's great to hear!