this post was submitted on 29 Aug 2025
57 points (100.0% liked)

Web Development

4513 readers
73 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS
 

An overview of what makes modern CSS so awesome.

top 9 comments
sorted by: hot top controversial new old
[–] cupcakezealot@piefed.blahaj.zone 6 points 22 hours ago (1 children)
  • you've never needed javascript
[–] python@lemmy.world 5 points 22 hours ago* (last edited 22 hours ago) (1 children)

I bookmarked another post from this community that might relate nicely!
It's time for modern CSS to kill the SPA

Haven't gotten to trying all the cool css stuff in my own projects yet, but it certainly sounds interesting :D

[–] vermaterc@lemmy.ml 3 points 13 hours ago

And there is also https://plainvanillaweb.com/index.html that teaches how to replace js frameworks with what modern browsers offer right now.

[–] jimmy90@lemmy.world 3 points 22 hours ago

with so many wasm frameworks you can use any language you like

[–] Ephera@lemmy.ml 9 points 1 day ago
:root {
  color-scheme: light dark;
  --text: light-dark(#000, #FFF);
  --bg: light-dark(#EEE, #242936);
}

Hmm, I guess the advantage of that over

@media (prefers-color-scheme: dark) {
    /*set different values for variables*/
}

is that you can set the color scheme via a button much more easily then.

Had to think about that for a moment, because the old way of doing things seemed fine, but that is a pretty good reason, I guess.

[–] bleistift2@sopuli.xyz 8 points 1 day ago* (last edited 17 hours ago) (2 children)

I wish there was a comprehensive resource for CSS. I’ve known for a very long time that I don’t know the half of it. But randomly clicking through the MDN topics has a very [Edit: ~~low~~ high] cost to benefit ratio. Where do you learn about the gems of CSS without getting bogged down by the obscure topics like text-emphasis-style?

[–] Kissaki@programming.dev 1 points 18 hours ago

Josh W Comeau is a great resource to understand CSS.

CSS Tricks I don't visit regularly, but have occasionally seen neat examples. I presume someone less experienced or more "see by individual or small examples" finds it more useful than I.