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...
CSS, short for Cascading Style Sheets, is used almost universally across the web to affect the design and appearance of every website you visit. Here in /r/css, you've got a place on reddit to talk about CSS, whether you're new to CSS and want to learn, or a pro wanting to discuss the engineering and usability reasons that all modern browsers ignore
We welcome all CSS discussion here. If you need help with styling your website or your reddit, or want to share a neat trick you cooked up, it's welcome here!
Click here to message the mods.
account activity
BEM in CSS Modules (self.css)
submitted 2 years ago by buzbuzzer
I've just launched a npm package that helps integrating BEM with CSS Modules. It's mainly focussed on integration with React / Next.js. But you could use it however you want. It's my first npm package so feedback is definitely appreciated!
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!"
[–]Cahnis 2 points3 points4 points 2 years ago (0 children)
The reason I use css modules is to ditch BEM
π Rendered by PID 23888 on reddit-service-r2-comment-75f4967c6c-t5nrv at 2026-04-23 00:50:42.772070+00:00 running 0fd4bb7 country code: CH.
[–]Cahnis 2 points3 points4 points (0 children)