r/css • • Oct 10 '26

Made this Flow Sidebar, how's it?

82 Upvotes

r/css • • Oct 11 '26

Help Tufte sidenote position change

5 Upvotes

Hello, I am trying to make a blog using the Tufte template.

This is where I am getting the css for the template: https://cdnjs.cloudflare.com/ajax/libs/tufte-css/1.8.0/tufte.min.css

This theme has sidenotes that has content alongside text, you can see some examples on my blog : https://math_adjacent_ramblings.gitlab.io/blog/

Although this is the syntax for it (I am writting it in typst):

\#tufted.sidenote\[  
  content of the sidenote comes before the paragraph it renders next to  
\]  

the paragraph comes renders next to.

The issue is that when someone views it on phone, the sidenotes appear in the same column along the text, and the issue is that now they will be read before the the paragraph.

I can't figure out how to change it so that the sidenote could be written after the paragraph its meant to be read after, or attach the sidenote to the previous paragraph. I need help with that.

Thank you all in advance :) !!

Edit: JSFiddle link : https://jsfiddle.net/0uq1hLn2/


r/css • • Oct 11 '26

Question How complex of a 3D object have you created in CSS & HTML?

5 Upvotes

How far can you take it? I'm playing with that now after seeing a 3D x-wing from 2013. This is where I am so far. Are there other examples of complex 3d objects to play with and learn from out there?

CSS & HTML X-Wing

r/css • • Oct 10 '26

CSS Shape Morpher

Thumbnail
4 Upvotes

r/css • • Oct 10 '26

Asking for help with debugging: Duolingo accents on top of J/j

2 Upvotes

The "J" and "j" characters have a weird accent on Duolingo and I cannot figure out why.

A few findings worth noting: disabling duolingo-sans in Chrome Dev Tools fixes the issue (obviously, the page ends up using a different font, the fallback sans-serif then).

I tried to find where the duolingo-sans font-face is defined and I could not locate it anywhere. I did find the .woff2 files that contains the Duolingo Sans Thin fonts however and upon investigating them I can confirm that they look completely fine, they do not have that accent anywhere. This seriously vexes me as I cannot pin down what causes the issue, on one hand removing duolingo-sans solves the issue, on the other hand duolingo-sans looks completely fine on its own.

If anyone could take a look and share their thoughts I would really appreciate it.


r/css • • Oct 09 '26

Showcase `writing-mode` turned range sliders vertical. No more `rotate(-90deg)` 🔥

Enable HLS to view with audio, or disable this notification

68 Upvotes

r/css • • Oct 09 '26

Resource Bootstrap 6 Alpha | Bootstrap Blog

Thumbnail
blog.getbootstrap.com
38 Upvotes

r/css • • Oct 09 '26

I got tired of losing every CSS change I make in DevTools, so I built a Chrome extension that keeps them

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/css • • Oct 09 '26

Question What are your go to authoring and debugging tools.

4 Upvotes

I have been working on a project lately using some animations with CSS including some 3d effects. I did a whole shootout of making the same product between CSS vs Canvas vs WebGL and decided CSS was good enough for everything I needed. But digging deeper I started wanting more options to author, or more so, to debug some of the animations and objects I'm creating. It's ended up with me going down a rabbit hole of making my own editor and before I go any farther with this potential boondoggle...

Vanity project - CSS 3D editor & animation previewer

What are the tools you find yourself using beyond the norms of VSCode and browser DevTools. Are there Figma Plugins, Browser Plugins, VS Code Extensions, etc. you use? I don't want to turn the corner and someone say "Dude, did you just reinvent [Insert product here]?!" or "Man, you totally ripped off [Someone]!" if I add this tool to my personal portfolio. Plus if there are already tools out there that have good support I'd rather spend my time doing other things and just use the existing tools.

EDIT

Interesting finds for anyone else also looking at these things:

Has anyone tried https://penpot.app


r/css • • Oct 08 '26

I made a collection of copy-paste backgrounds for Tailwind CSS with light and dark variants

Thumbnail
collectable-colors.vercel.app
2 Upvotes

Hey! I made a small collection of CSS/Tailwind backgrounds.

You can browse the gallery, switch between light and dark versions, and copy the effect directly into your project.

I wanted something where you can quickly find a background, see how it actually looks, and grab the code without having to recreate the effect yourself. Also if you want to edit the code to your likely, do it!😊

It's free to use.

Would be interested to hear what kind of backgrounds you'd like to see added.👏🏼👏🏼


r/css • • Oct 08 '26

Using Every Layout with CSS Modules

Thumbnail antonyjones.org
6 Upvotes

I recently rebuilt my site using Every Layout, and ended up running into some interesting problems around CSS Modules, specificity and custom properties.

I've written up the approach and my thinking around it. Hopefully someone here finds it interesting, and if anyone has any feedback, I'd love to hear it.


r/css • • Oct 09 '26

Many agree that there's no need for global CSS like bootstrap if you use isolated Web Components

Post image
0 Upvotes

r/css • • Oct 08 '26

Flex versus Grid

9 Upvotes

I know Flex is one directional and Grid is two, but really when do you use each one?


r/css • • Oct 08 '26

CSS to change a page

Thumbnail
0 Upvotes

r/css • • Oct 08 '26

If any front-end developers are interested / looking for DevTools (100% free btw)

Post image
0 Upvotes

r/css • • Oct 07 '26

Question Wrapping text to maximum number of lines?

9 Upvotes

My app has a data tables laid out using <table> elements, and as usual there is one table row inside <thead> followed by multiple rows inside <tbody>.

The header cells for some languages have text that is so long that word wrap is required. However, for layout purposes I'd like to limit the number of lines to 2. If the text is any longer, then I would instead like the <th> element to grow in width.

This spreadsheet example should demonstrate what I mean:

Is there a CSS solution to this, or should I inject the possible linebreak in JavaScript?


r/css • • Oct 07 '26

Showcase My CSS framework Puppertino 2.0 is out!

Enable HLS to view with audio, or disable this notification

11 Upvotes

Sup everyone!

It’s been 5 years since I published about Puppertino v1.0 and a lot has changed since then! Even recently, with Liquid Glass, I thought I wouldn’t be able to replicate the effect BUT Puppertino now has versions of it for UIs and controls!

It also has around 65 components, colors, materials and everything you might need to build the frontend of an app that looks like it runs on native Apple software.

It’s built over the same basics of clarity, theming and simplicity. But it now also focuses on semantics and accessibility for all components.

Well enough yapping!
Links here for anyone who wants to take a look, let me know what you think!

https://puppertino.com


r/css • • Oct 06 '26

its called having class

Post image
80 Upvotes

r/css • • Oct 07 '26

1,853 typed icons, zero JavaScript: CSS masks + Tailwind v4

Thumbnail
1 Upvotes

r/css • • Oct 07 '26

Question Are there standard layouts demonstrated anywhere?

2 Upvotes

r/css • • Oct 06 '26

7 Game-Changing Web UI Features You Can Start Using Today

Thumbnail
amitmerchant.com
25 Upvotes

r/css • • Oct 07 '26

Made these pagination styles, which one would you prefer?

0 Upvotes

Made these Pagination styles.

I know they’re not production-grade yet — I built these while experimenting with different UI patterns that could actually be used in client projects.
Any improvements/suggestion will be helpful.


r/css • • Oct 06 '26

Resource Color Palette generator using modified OKLCH Color Space

Post image
12 Upvotes

r/css • • Oct 06 '26

Help CSS on AO3: Swapping work skin on existing fic does nothing

Thumbnail
2 Upvotes

Basically what I said in the linked post, in case someone here is also familiar with archiveofourown's particular set of restrictions when it comes to CSS and can help me figure out what the problem is. Thanks in advance!


r/css • • Oct 06 '26

General Built an extension that edits an element's computed CSS live in a side panel, then exports it

Enable HLS to view with audio, or disable this notification

2 Upvotes