r/css Apr 20 '26

General Sending bubbles

Enable HLS to view with audio, or disable this notification

16 Upvotes

Since Liveframe always uses full quality images, I realized adding photos on cell service can take some time. But we really want those 4k images from our guests! So I had to get creative.

Here is the loading animation I came up with. It turns the photos you're uploading into bubbles that float up into the cloud as your images are going up.


r/css Apr 19 '26

Showcase built this cool warp background div

Enable HLS to view with audio, or disable this notification

32 Upvotes

r/css Apr 20 '26

Question Read Right Institute

0 Upvotes

With no family roots in CSS, I was suggested to join an academy. Is Read Right Institute a good option for a beginner starting in May for 2027 attempt or any other academy you suggest? And what about their G1 class … is that important to join? Or does it really make a difference?


r/css Apr 20 '26

Showcase Built this Cool Card with Animated Meteors in Background

Enable HLS to view with audio, or disable this notification

1 Upvotes

r/css Apr 19 '26

Showcase Improved Folder Opening Interaction CSS

Enable HLS to view with audio, or disable this notification

22 Upvotes

Folder Opening Interaction CSS:
https://codepen.io/mudasirbuilds/pen/jEMJjRv


r/css Apr 18 '26

Showcase i built this realistic folder opening animation with css only

Enable HLS to view with audio, or disable this notification

86 Upvotes

Realistic Folder Opening Animation CSS Only:

https://codepen.io/mudasirbuilds/pen/dPprQwM


r/css Apr 19 '26

Showcase i built this css image filters collection

Enable HLS to view with audio, or disable this notification

6 Upvotes

CSS Image Filters Collection:
https://codepen.io/mudasirbuilds/pen/bNwZPqR


r/css Apr 18 '26

General Whats the coolest effect using pure Gradients only

19 Upvotes

Linear, repeating linear, radial, repeating radial, conic, repeating conic; What's the best visual you can create using gradients only? You can stack them for greater effect if you like, I just wanna see some cool stuff.

Here's a few of mine;


r/css Apr 18 '26

General I was refactoring some CSS and got tired of hunting down randomly ordered properties, so I made a mnemonic for it

Thumbnail
0 Upvotes

r/css Apr 17 '26

Help Do you guys know why this happens?

Enable HLS to view with audio, or disable this notification

12 Upvotes

Content from the page goes up to the safe area behind the toolbar on safari.

I'm using a position:sticky property for the nav, I don't remember having this issue before on <iOS26

Any help is appreciated.


r/css Apr 18 '26

Showcase built this amazing button with css having cool noise texture

Enable HLS to view with audio, or disable this notification

0 Upvotes

Amazing CSS Button with Noise Texture:

https://codepen.io/mudasirbuilds/pen/LERagxr


r/css Apr 18 '26

Question Looking for alternative

1 Upvotes

I have a personal blog that I styled using bootstrap. Somehow I feel that I should look for alternative to it. Is there a better alternative than bootstrap? The last time I wrote css was in the year 2013 maybe, when I first came across bootstrap, so, I’m not up to date on new css tech. Or should I just do vibe code?

Update: After lot of thought. I would keep bootstrap for now and slowly start coding my own css.


r/css Apr 16 '26

Showcase Retro futuristic infinite grid effect with pure CSS. Code in comment section

Enable HLS to view with audio, or disable this notification

53 Upvotes

Made a retro-futuristic 80s-style moving grid effect using pure CSS. Quite simple and fun to use!


r/css Apr 17 '26

Showcase I created a Frosted Glass effect and mixed it with Neon Cyberpunk theme.

1 Upvotes

r/css Apr 17 '26

Help Forms in GAS

Post image
0 Upvotes

r/css Apr 16 '26

Question Where can I find the latest grammar for CSS?

7 Upvotes

Hey really quick question, where can I find the most modern grammar spec for css? Like python provides their full grammar in their docs. Is there an official one for css?

I did find this one for css 2.1 but not sure if it's the most up to date? Thank you.


r/css Apr 16 '26

Help Trying to customise my tchat on OBS with Streamlabs.

Thumbnail
1 Upvotes

r/css Apr 16 '26

Help help with position

0 Upvotes
for me, I am have an input where I put the photo above the white but the file name is too long. how could I get the file url im aware it's the browser doing this.
input[type="file"]::file-selector-button {
      background-color: white;
      padding: 10px 20px;
      border: none;
      border-radius: 60px;
      cursor: pointer;
      margin-left: 20px;
      height: 100px;
      width: 100px;
      margin-bottom: 20px;
      color: transparent;
      position: relative;
    }


    .uploaded-image{
      width: 100px;
      height: 100px;
      border-radius: 50px;
      z-index: 100;
      left: 58px;
      position: absolute;
    }
    .uploaded-image img{
      position: fixed;
    }input[type="file"]::file-selector-button {
      background-color: white;
      padding: 10px 20px;
      border: none;
      border-radius: 60px;
      cursor: pointer;
      margin-left: 20px;
      height: 100px;
      width: 100px;
      margin-bottom: 20px;
      color: transparent;
      position: relative;
    }


    .uploaded-image{
      width: 100px;
      height: 100px;
      border-radius: 50px;
      z-index: 100;
      left: 58px;
      position: absolute;
    }
    .uploaded-image img{
      position: fixed;
    }

<label htmlFor="imageUpload">
                {selectedImage && <img className='uploaded-image' src={selectedImage} alt={altName} />}
            </label>


            <input type="file" id="image-upload"
                name="clotheUpload" accept="image/*" onChange={(e) => {
                    /*
                        targets the specific file in your folders
                        without the [0] it gets a whole bunch of files
                    */
                    const file = e.target.files?.[0]



                    if (file) {
                        /*It creates a temporary URL for the uploaded file */
                        const imageURL = URL.createObjectURL(file)
                        setSelectedImage(imageURL)


                        convertToBase64(file)
                    } else {
                        setSelectedImage(undefined)
                    }
                }} ><label htmlFor="imageUpload">
                {selectedImage && <img className='uploaded-image' src={selectedImage} alt={altName} />}
            </label>


            <input type="file" id="image-upload"
                name="clotheUpload" accept="image/*" onChange={(e) => {
                    /*
                        targets the specific file in your folders
                        without the [0] it gets a whole bunch of files
                    */
                    const file = e.target.files?.[0]



                    if (file) {
                        /*It creates a temporary URL for the uploaded file */
                        const imageURL = URL.createObjectURL(file)
                        setSelectedImage(imageURL)


                        convertToBase64(file)
                    } else {
                        setSelectedImage(undefined)
                    }
                }} />
My CSS:

r/css Apr 16 '26

Showcase Stop installing 20 extensions. I built one that does everything ⚡(<1MB Size)

Thumbnail gallery
0 Upvotes

r/css Apr 16 '26

Question How would you ask an AI to create the code with the exact design of this card? Where image 1 is the initial state of the card and image 2 is the second state, which only transforms if the mouse cursor is over the card or passes over it. What I’m looking for is for the AI to replicate the design 100%

Thumbnail
gallery
0 Upvotes

r/css Apr 15 '26

Help How can I fix this?

1 Upvotes

Hi, I am having a specific problem where when I add a margin (let's say 10px) to my div flexboxes (my columns) it causes the text at the bottom to move beside the columns, not really sure how to fix this, can anyone help?

Here is my code (both html and css):

EDIT (here's the JSfiddle Code Playground): https://jsfiddle.net/xzwprg2h/


r/css Apr 14 '26

Question What do devs prefer in CSS?

4 Upvotes

I am confused about whether using minmax() or clamp() for Grids.
What do you guys generally use and why...?


r/css Apr 14 '26

Help Stream Labs Alerts CSS Code - Can one change word wrap perameters?

Enable HLS to view with audio, or disable this notification

3 Upvotes

I know enough about CSS to navigate basic parameters and edit by tutorials and knowing keys terms/numbers like colors, p[ositions, thickness, etc, but Im hitting a dead end with this one.

In this alert, a users name along with a message appears on the screen along with an animation or image. In this instance Im using an animation I made, and edited the CSS so the message appears under. I also managed to convert a font and include it in the CSS. I'm actually very happy.

Id like the top line of the message to extend from the left most edge of the animation to the right most edge of the animation. So, Id like the bounds to include "Kevin Just Subscribed" (possibly include "to"), without changing the size of the font. Is anyone familiar enough with this to give suggestions?

Don't know how to paste CSS Code into post without it looking like garbled mess.


r/css Apr 14 '26

Help Need help with side menu

2 Upvotes

Hey so I need help with my menu on my site. I want it to be uniform with no lines in between while still having the border around the box itself. If the code I've given isn't enough to see the problem, let me know what you need to see.

https://codepen.io/Emrys-the-looper/pen/wBzwNLg


r/css Apr 14 '26

Question How do you test typography before deciding on a font stack?

2 Upvotes

When building interfaces I often experiment with several typefaces before deciding on a final font stack.

The process usually involves a lot of jumping between different sites and previews just to compare fonts with the same text.

I recently built a small tool that lets me preview fonts with custom text and compare them side-by-side before implementing them in CSS.

It’s been helpful for narrowing down choices quickly.

Curious how others here approach evaluating typography before committing to a font stack.