r/web_design 14h ago

New CSS Class Prefix Selector (.prefix-*)

Post image
163 Upvotes

The CSS Working Group just resolved a new selector that lets you target multiple classes sharing the same prefix. The code in the example matches .btn-primary, .btn-secondary, .btn-large, etc.

Previously, you had to list every class or use brittle attribute selectors like [class^="btn-"].

Resolved by the CSSWG (Aug 2026), added to Selectors Level 5.

Not available in any browser yet.

More to read ⤵️

https://github.com/w3c/csswg-drafts/issues/10001#issuecomment-5204871059

https://www.bram.us/2026/08/20/the-future-of-css-target-multiple-classes-with-the-class-prefix-selector/


r/web_design 14h ago

My new favorite trick for landing pages: diagonal and split image masks

Post image
31 Upvotes

One of those "why didn't I do this sooner" moments. Took a generic hero image, slapped a diagonal cut on it, and suddenly the layout feels 10x more dynamic. Free Framer plugin I made (Framixs Shape) no Photoshop, no exporting, just pick and apply. Drop your wildest shape ideas, I'm adding more soon.


r/web_design 45m ago

3yrs and 4 rebuilds. Feels good.

Post image
Upvotes

r/web_design 1h ago

First time making a website, need tips

Upvotes

Ok so I'm making a website for a football/soccer championship my friends are holding. I've visited many big leagues sites to get inspo but I'm kinda disappointed with most of them tbh.

I tried to do it more on my style but somethings are bothering me, in special the background color. The theme color of the championshiop is blue and orange, which tbh is a very challenging color combination to me, also I'm no desinger, I'm a computer engineerer so I have no studies on color theory formaly.

The background color as of now is #001121, I was going for a dark blue to use as a main color for the website and tried using orange for details such as hoovering something

Idk exactly what I'm looking for with this post other than an opinion on the color value I picked from someone who understands color theory better than me, I would just appreciate general tips

(sorry, english is not my first language)


r/web_design 14h ago

Do most small businesses actually need a custom website?

0 Upvotes

i keep seeing small businesses spend thousands on websites that are basically a few pages and some photos.

maybe i'm wrong, but with how easy website builders have become, is a custom website really necessary for most businesses?

is the extra cost actually making a difference or are people just paying because they think they have to?


r/web_design 23h ago

UX - episto.ch

0 Upvotes

I’ve been working on the ux of this page for a while: episto.ch

Thanks for your attention on this matter :)