Lurker News
Hey HN,

I'm a seasoned backend developer and systems administrator, with over 10 years of full-time programming experience. I've worked with anything from Assembly, C, Rust all the way to Python, Erlang, Elixir, PHP, Haskell, Lisp, Clojure.
When it comes to frontend, I have used React, Vue.js, ReasonML, Clojurescript and Elm extensively, and I know my way around web technologies in general. However, ever since I first started programming, I was NEVER able to get the gist behind CSS. I can't center my divs properly. I can't say "hey, CSS, this is the parent div, and all child divs must obey its size". I can't do anything basic on CSS without turning for help.
Incidentally, but very likely related, I always failed to have any glimpse into how design works. I have no idea which colors "go" with which ones, and pretty much all fonts look like the same for me.
I'd like to know the experience from fellow programmers. Is CSS an "art" thing? Is it common for other developers to have issues with it, or is it just me? Is there any material out there that made CSS "click" for you?

Comments (340) 150 threads

Earlier comments
nope4666#
I am in very similar boat, years of experience as back-end dev but struggling with "simple" css for layout.

what helped me is understanding flexbox and realizing you can use negative margins.

iamgopal#
Flexbox almost do what you told it to. Try it. Previous generations were giving days of nightmare, but current flexbox + many utility libraries have reduced headache a ton.
k4ch0w#
I have limited experience by building my own apps for learning purposes. Getting CSS working in multiple browsers exactly the same is always a pain point.
misiti3780#
Is it a true statement that if you are starting to learn css in 2019, you should spend most of your effort with flexbox and scss (they are the future)?

Load more comments