TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How to Get Good at CSS?

2 pointsby JSLegendDev4 months ago
I know the basics, can usually get the design I want after a lot of trial and error but it doesn&#x27;t feel like I truly master CSS. I always have to google what I want to do since I barely remember certain rules.<p>Any tips to get better at CSS or resource you would recommend?

2 comments

culi4 months ago
CSS is not something that you can intuit so it only really comes with practice. I used to take on a lot of little projects (you might have to abandon the &quot;stop starting, start finishing mantra&quot;) which I found to be a really effective way to level up quickly. One really effective exercise I&#x27;ve done is to take an existing website and try to recreate it from a screenshot alone. When you get stuck you can try to peak at the source code to see how it was done. Here&#x27;s a small collection of some good candidate sites for this exercise:<p>- <a href="https:&#x2F;&#x2F;special.fish&#x2F;" rel="nofollow">https:&#x2F;&#x2F;special.fish&#x2F;</a><p>- <a href="https:&#x2F;&#x2F;pirate.care&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pirate.care&#x2F;</a><p>- <a href="https:&#x2F;&#x2F;craigslist.org" rel="nofollow">https:&#x2F;&#x2F;craigslist.org</a><p>- <a href="https:&#x2F;&#x2F;fillip.ca&#x2F;" rel="nofollow">https:&#x2F;&#x2F;fillip.ca&#x2F;</a><p>- <a href="https:&#x2F;&#x2F;html.energy&#x2F;" rel="nofollow">https:&#x2F;&#x2F;html.energy&#x2F;</a><p>- <a href="https:&#x2F;&#x2F;gossipsweb.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gossipsweb.net&#x2F;</a><p>- <a href="https:&#x2F;&#x2F;brutalistwebsites.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;brutalistwebsites.com&#x2F;</a><p>- <a href="https:&#x2F;&#x2F;theface.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;theface.com&#x2F;</a>
barrettondricka4 months ago
1. Don&#x27;t. Get better at googling instead<p>2. CSSTricks<p>3. Learn to read MDN docs.<p>4. Flexbox froggy and grid garden<p>5. Hyperplexed (older videos)<p>I warn you, that &quot;studying&quot; CSS is a pointless endeavor. Your knowledge should be &quot;tools that exist&quot; without knowing the exact syntax.<p>Also, &quot;No JS&quot;. Make your stuff without JavaScript. It forces you to use every quirck in HTML and CSS to make stuff work.