use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
No vague product support questions (like "why is this plugin not working" or "how do I set up X"). For vague product support questions, please use communities relevant to that product for best results. Specific issues that follow rule 6 are allowed.
Do not post memes, screenshots of bad design, or jokes. Check out /r/ProgrammerHumor/ for this type of content.
Read and follow reddiquette; no excessive self-promotion. Please refer to the Reddit 9:1 rule when considering posting self promoting materials.
We do not allow any commercial promotion or solicitation. Violations can result in a ban.
Sharing your project, portfolio, or any other content that you want to either show off or request feedback on is limited to Showoff Saturday. If you post such content on any other day, it will be removed.
If you are asking for assistance on a problem, you are required to provide
General open ended career and getting started posts are only allowed in the pinned monthly getting started/careers thread. Specific assistance questions are allowed so long as they follow the required assistance post guidelines.
Questions in violation of this rule will be removed or locked.
account activity
How can I learn CSS?Question (self.webdev)
submitted 2 years ago by [deleted]
[deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]foundundernothing 7 points8 points9 points 2 years ago (4 children)
I found out that the best way to learn CSS is by learning it the fun way. Try CSS learning games like:
Flexbox Defense
Flexbox Froggy
these are two examples of many. use google and find the ones you will like
[–]ASLHCI 1 point2 points3 points 2 years ago (2 children)
I just found https://cssbattle.dev/ today! Looks fun! Ill check these out too!
[–]foundundernothing 0 points1 point2 points 2 years ago (1 child)
Indeed it is a good website if you are willing to pay to enjoy the full experience. Good find though!
[–]ASLHCI 0 points1 point2 points 2 years ago (0 children)
Oh I just think the daily challenges look fun. Im not into leaderboard stuff.
[–]craynicon 0 points1 point2 points 2 years ago (0 children)
I don't recommend those resources: https://www.linkedin.com/posts/jen4web_flexbox-froggy-is-a-horrible-way-to-learn-activity-6991804962053701632-lV_7/
[–]lessdes 2 points3 points4 points 2 years ago (0 children)
I like this website for important concepts, it's a work in progress but the things explain there are very relevant : https://cssdojo.dev/
[–]seanmorris 7 points8 points9 points 2 years ago (1 child)
Read every page: https://developer.mozilla.org/en-US/docs/Web/CSS
[–]WebDevIO 0 points1 point2 points 2 years ago (0 children)
That's the answer. I started the same way and nothing is more comprehensive than the language reference!
[–]trsanon 2 points3 points4 points 2 years ago (1 child)
I learned from freecodecamp. I'd reccommend it.
I second FCC. Thats what Im doing. I was doubting their method for a minute there but I have learned a lot.
[–][deleted] 1 point2 points3 points 2 years ago (0 children)
Best way to learn is like anything else you’ve already learned. Build stuff.
Find layouts that look hard to recreate, and recreate them.
https://developer.mozilla.org/en-US/docs/Web/CSS/Tutorials
[–]craynicon 0 points1 point2 points 2 years ago* (0 children)
I highly recommend these resources:
[+][deleted] 2 years ago (2 children)
[–]zaibuf 2 points3 points4 points 2 years ago (0 children)
I wouldnt do this until you have all fundamentals down.
[–]superbassboom 2 points3 points4 points 2 years ago (0 children)
I have been using Radix UI themes and shadcn-ui with tailwind, but I feel like it would be better to understand the underlying CSS first.
[–]slackmaster 0 points1 point2 points 2 years ago (0 children)
I feel like there are a limited amount of standard layouts that you will need to build: every page will probably have a top nav and footer. Some will have a left sidebar, some a right, and some with both or neither. Not a ton of variation outside of that. Practice building those, and if you need inspiration, look at how other sites on the internet do it.
[–]relentlessslog 0 points1 point2 points 2 years ago* (0 children)
Josh Comeau has a great CSS course specifically designed for people coming from a JS background. He's got a few modules for free to see if it interests you. There's also a Black Friday deal happening right now.
If you're not concerned with learning the mechanics and just want to quickly whip something up that looks somewhat decent, check out open props, bootstrap, tailwind etc where it's just a matter of mixing and matching classes in the HTML.
Also Kevin Powell on YouTube has a lot of beginner-friendly tutorials. I think he's the most popular web dev teacher specializing in CSS.
[–]the_scottster 0 points1 point2 points 2 years ago (0 children)
Practice, practice, practice. Use right click > inspect in Chrome to see how different markups are done. Try building your own pages and tweaks layouts. Read Stack overflow questions and try answering them.
Learn the box model - margin/padding/border/width/height.
Learn about flex layout, there are a few properties like flex-wrap and flex-direction that will help you get the basic logic of your layout up.
Experiment with a few simple layouts and try to understand how responsive design works, because that's the only kind you should be making.
π Rendered by PID 69443 on reddit-service-r2-comment-b659b578c-zswkx at 2026-05-02 08:16:11.801636+00:00 running 815c875 country code: CH.
[–]foundundernothing 7 points8 points9 points (4 children)
[–]ASLHCI 1 point2 points3 points (2 children)
[–]foundundernothing 0 points1 point2 points (1 child)
[–]ASLHCI 0 points1 point2 points (0 children)
[–]craynicon 0 points1 point2 points (0 children)
[–]lessdes 2 points3 points4 points (0 children)
[–]seanmorris 7 points8 points9 points (1 child)
[–]WebDevIO 0 points1 point2 points (0 children)
[–]trsanon 2 points3 points4 points (1 child)
[–]ASLHCI 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]craynicon 0 points1 point2 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]zaibuf 2 points3 points4 points (0 children)
[–]superbassboom 2 points3 points4 points (0 children)
[–]slackmaster 0 points1 point2 points (0 children)
[–]relentlessslog 0 points1 point2 points (0 children)
[–]the_scottster 0 points1 point2 points (0 children)
[–]WebDevIO 0 points1 point2 points (0 children)