Reddit » Cascading Style Sheets
1,378 FOLLOWERS
The subreddit is for discussing Cascading Style Sheets, design principles, and technological innovations related to web development.
Reddit » Cascading Style Sheets
3h ago
Is there a js solution for implementing text-wrap:balance ? Frustratingly, Safari doesn't support text-wrap:balance so I'm looking for a JS workaround. Thanks!
submitted by /u/HumanityFirstTheory
[visit reddit] [comments ..read more
Reddit » Cascading Style Sheets
5h ago
I made a video about how to use CSS conic gradients to build checkerboard backgrounds:
https://youtu.be/AX4vLY4kEy4
Let me know what you think.
submitted by /u/cagdas_ucar
[visit reddit] [comments ..read more
Reddit » Cascading Style Sheets
11h ago
Shadcn looks awsome but it seems way to difficult for me to set up to use with my wordpress setup. Does anyone have anything like it? DaisyUI and Bootstrap seem easy to but I dont want to use those
submitted by /u/platifuss
[visit reddit] [comments ..read more
Reddit » Cascading Style Sheets
18h ago
I'm a mobile dev and recently started doing some web stuff.
https://play.tailwindcss.com/Ae40e3lDNB?size=518x565 In this case I don't understand why setting "overflow-hidden" prevents the image from taking extra space. "overflow-hidden" clips child elements that don't fit the parent. But here it doesn't clip the image, it shrinks the image to fit the parent.
submitted by /u/Only_Appeal_3576
[visit reddit] [comments ..read more
Reddit » Cascading Style Sheets
19h ago
I have a dynamic element that sometimes continues on to the next page when printing. I want to make it so that when printing, if it continues on to the next page, an element is generated that says continued.
For example, if my element was called summary, and it goes to the next page, at the top of the second page would render an element that says Summary(continued).
How would I do this ? Is there an easy way to do this in react or css or do I need some third party library?
submitted by /u/Steven0710
[visit reddit] [comments ..read more
Reddit » Cascading Style Sheets
22h ago
I am using react with react bootstrap but my idle game ive been making looks more like a website than a game (even though its fun and 300 people tried it so far).
I was wondering if anyone knew of any css framework that implements css that looks more like mobile gacha games like honkai star rail or fire emblem
submitted by /u/sunshard_art
[visit reddit] [comments ..read more
Reddit » Cascading Style Sheets
1d ago
submitted by /u/AllThingsSmitty
[visit reddit] [comments ..read more
Reddit » Cascading Style Sheets
1d ago
Hey everyone! I'm trying to solve something:
As you can see the layout that i'd like to reach has 5 divs, each one a text inside (a city name)
Those divs make a L shape. Till here I didn't have any problem as I positioned the divs in absolute choosing where they should be displayed.
My problem is that I need to insert some arrows between them. The arrows they should be centered to the div and should have the same distance from the div above and the one below. Plus the arrows, while resizing, they should be contained inside the div, having a responsive behaviour. Right now I've positioned the ..read more
Reddit » Cascading Style Sheets
1d ago
Hey everyone! I'm trying to solve something:
As you can see the layout that i'd like to reach has 5 divs, each one a text inside (a city name)
Those divs make a L shape. Till here I didn't have any problem as I positioned the divs in absolute choosing where they should be displayed.
My problem is that I need to insert some arrows between them. The arrows they should be centered to the div and should have the same distance from the div above and the one below. Plus the arrows, while resizing, they should be contained inside the div, having a responsive behaviour. Right now I've positioned the ..read more
Reddit » Cascading Style Sheets
1d ago
submitted by /u/robson_muniz
[visit reddit] [comments ..read more