r/css • u/tecahmewlboose7 • Jun 11 '26
r/css • u/deziikuoo • Jul 21 '25
Question Why do some people prefer Tailwind CSS over CSS??
I started with learning CSS and wanted to expand my skills so I tried learning Tailwind css. I just don’t understand why anyone would prefer to use Tailwind over CSS. It makes things so unorganized, chaotic, and harder to read.
On sites like Fiverr etc, I see people listing Tailwind CSS instead of regular CSS. Is it standard for experienced developers to know Tailwind and use it more often? I’m an intermediate developer and full set on never touching Tailwind a day in my life ever again lol
General CSS display: contents; is super handy for Flexbox + Grid layouts where the children aren't direct descendants
r/css • u/creaturefeature16 • Aug 24 '25
General I've really slept on how much CSS Grid changes the layout game.
I recently was given a design that had certain layouts that I normally I would use some kind of absolute positioning and remove the elements from the DOM flow, positioning as needed, probably using some kind of calc() or magic numbers (hopefully not). For example, here was one component:

I really hate doing that though; it feels quite old school. I only tend to use Grid for, well, grid layouts. I really challenged myself to see if this kind of stuff could be done with CSS Grid, and was stoked about the results:

That really helped prime me for doing some more advanced layouts and I can honestly say I feel that along with flex, aspect-ratio and viewport units, there's virtually no layout that is out of reach!



I know I'm just scratching the surface, too. If you haven't really taken the time to learn Grid, I implore you to do so. The syntax really isn't great, but you get used to it and start to see why it sort of had to be that way. It's definitely elevating my approach across the board.
Codepen for this last image gallery, if anybody is curious: https://codepen.io/CheeStudio/pen/yyYEpLe
r/css • u/Canowyrms • May 29 '19
So my colleague just wrote some interesting CSS... One of those "just because you can doesn't mean you should" cases.
r/css
•
u/Cultural_Mission_482
•
Feb 08 '26
Showcase Blossom color picker UI built with CSS 🌸
Built a flower-style color picker in React using Tailwind for layout and styling.
Includes:
fixed colours (multi-layer)
an arc slider for saturation
animated open/close interaction
Repo: https://github.com/dayflow-js/BlossomColorPicker
Demo: https://dayflow-js.github.io/BlossomColorPicker/
Inspired by lichinlin, motiondotdev.
r/css • u/alvaromontoro • Aug 15 '26
Showcase Background-clip Collie
A small comic where each panel shows a different clipping mode (border-box, padding-box, content-box, and text) but framed as four different "Collies."
Source: https://comicss.art/comics/254/
r/css • u/TimUrbutt • Oct 31 '26
AI Assisted Crazy what you can do with just CSS right??
I spent the last few weeks building the "perfect" liquid glass effect with just CSS and SVG Filters, No WebGL used and it works page wide, which means it picks up anything of the background behind it.
The core is a backdrop-filter with an SVG displacement map. I screen recorded Apple's play button (I mean the video play button, for example on youtube) for reference on my iPhone and measured it frame by frame. It’s 1:1 in the middle, then the image folds over itself towards the edge, and it pulls pixels inward.
The displacement map itself is based on a 9-slice of tiny grayscale PNGs that get stretched instead of re-rendered on every resize (I need this because the elements are animated and not static). That alone cut main thread time by a lot, giving it a pretty decent performance for how complicated it is.
The outer edge consists of three extra layers on top that don’t bend anything, they just brighten, darken and add a highlight. For reflections of the stuff around the glass, the layer is bigger than the element and gets morphed and masked back to its shape, because the backdrop is otherwise clipped to the element’s box. Actually, Apple's original liquid glass effect doesn't even have reflections, but i figured it adds a lot to it on the website I implemented it in.
Then there are shadows, caustics, etc to give it the final "realistic" touch and voila, almost perfect result imo. The only thing thats left is fix performance, however the animations are the trickiest part. Without animations, it runs extremely smooth and even with animations its not a problem as long as the elements are small enough.
Sadly, Safari only gets a simple blur for now, because WebKit doesn’t render backdrop-filter: url(). However, there are two open PRs that fix it (WebKit/WebKit#68614 and WebKit/WebKit#68613). The CSS is the same for every browser, so it should just start working once they make the next major release.
Just wanted to share this, if you have any more technical or other questions, feel free to ask!
-----EDIT-----
A few of you requested to see whats actually going on in the background, so I made it open source.
I made a small showcase website: https://studies.nordify.io/study/001-liquid-glass/
The repository is also linked there!
r/css • u/bear007 • Jun 16 '21
Did you know you can style video subtitles with CSS pseudo-element called ::cue ?
r/css
•
u/soufiane_SM8
•
Sep 12 '24
General Hey guys, I made this using Pure Html und Css
r/css • u/Aryan99C • Jan 20 '26
Showcase I recreated some national flags using only HTML & CSS (no images, no SVG)
Live Preview: Live Preview
GitHub Repo: Github Repo
I’m learning CSS layouts, grids and wanted a practical challenge, so I recreated some national flags using only HTML and CSS. This project did help me with understanding position(absolute, relative), grids, and most importantly reusing CSS properties and variable.
Although the code is not perfect and I think I might have complicated things a bit there but will try to improve it. Also I tried to maintain the exact design of flag, there are a few inaccuracies (apologies for that) and will try to improve that too.
I will look forward to recreate more complex flags
r/css • u/the94air • Jun 01 '19
This is what I do in my free time. Making my worst nightmare.
r/css • u/Piposhi • Feb 18 '26
General Ambient CSS - Physically based CSS lighting and shadows (and react components)
Demo page in the video - https://ambientcss.vercel.app/
Docs - https://kikkupico.github.io/ambientcss/
Source code - https://github.com/kikkupico/ambientcss
r/css • u/naeem288 • Feb 14 '26
General I built a site to showcase what modern CSS can do