Live data from Hacker News

Ask HN: What is the best way to learn CSS

news.ycombinator.com

1–10 of 13 posts

Ask HN: What is the best way to learn CSS

#1
Hi, I am an experienced backend engineer with fairly good graps of HTML and JS. But I always have trouble making reasonably good looking websites mainly because I find CSS hard to understand.

How did you learn CSS? What efficient ways would you recommend for me, keeping in mind I can spend only 5-6 hours a week.

Thanks

Re: Ask HN: What is the best way to learn CSS

#3
If you know computer programming in general and have a good grasp of HTML, I don't think your problem with making reasonably good looking websites is mainly because of CSS. Some quirks and hacks aside CSS is an extremely simple language.

Making good looking website is design and design is a problem, a wicked problem[1]. These are the steps that I personally take to make okay looking stuff:

1. Look at templates and real world websites in the same field/subject and cherry pick features that you like.

2. Implement the layout and components with only structural css parts.

3. Add/Optimize color/style.

4. Refine layout.

5. Go to 3 if not satisfied.

Or my other approach is to start with Bootstrap or Zurb.

1. Pick A "framework"

2. Build the layout and select components.

3. Refine the framework defaults (in bootstrap, you mostly change stuff in variables.less)

4. Add your own styling.

5. Go to 3 if not happy.

[1] http://en.wikipedia.org/wiki/Wicked_problem

Edit: Indent.

Re: Ask HN: What is the best way to learn CSS

#4

Magic of CSS might be of some help: http://adamschwartz.co/magic-of-css/

Thank you for the link. But I didn't understand the second part titled "Potions". When I click those liks like (Two pane app), I just see some layout + empty tabs. Am I missing something?

Re: Ask HN: What is the best way to learn CSS

#5
post #3

If you know computer programming in general and have a good grasp of HTML, I don't think your problem with making reasonably good looking websites is mainly because of CSS. Some quirks and hacks aside CSS is an extremely simple language. Making good looking website is design and design is a problem, a wicked problem[1]. These are the steps that I personally take to make okay looking stuff: 1. Look at templates and re…

Thank you. I tried doing what you told in (1)...but its way too time consuming. I am trying to find out if there is an easier way.

Re: Ask HN: What is the best way to learn CSS

#6

Magic of CSS might be of some help: http://adamschwartz.co/magic-of-css/

Thank you for the link. But I didn't understand the second part titled "Potions". When I click those liks like (Two pane app), I just see some layout + empty tabs. Am I missing something?

They're examples I believe, you're supposed to view the source.
Post reply on HN