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

Web Development

4513 readers
33 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 15 comments
sorted by: hot top controversial new old
[–] cupcakezealot@piefed.blahaj.zone 6 points 1 day ago (1 children)
  • you've never needed javascript
[–] python@lemmy.world 5 points 1 day ago* (last edited 1 day 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 16 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 1 day 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 21 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 21 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.

[–] hperrin@lemmy.ca 6 points 1 day ago (2 children)

That’s great and wonderful, except some of those things don’t work on an iPhone. As long as Apple is holding back the industry, we’ll have to use JS for some things.

[–] BrikoX@lemmy.zip 11 points 1 day ago (1 children)

Or just say fuck them and refer them to Apple customer service when they start complaining since it's an Apple issue not platform issue.

[–] bleistift2@sopuli.xyz 24 points 1 day ago (1 children)

Do you work as a web dev? Flipping off 20% of your user base doesn’t exactly land you jobs.

[–] 30p87@feddit.org 6 points 1 day ago (1 children)

I'd guess a large portion here are hobbyists, and I'm totally fine with showing 20% of random people the consequences of their choices, as it has no actual impact on anyone, and a lot of professionals have to adhere to company standards, so going JS-less isn't even an option anyway.

[–] victorz@lemmy.world 2 points 16 hours ago

random people the consequences of their choices

These random people aren't aware of the consequences of their choices and shouldn't be punished for them. But at the same time, Apple needs to feel some pressure. But I doubt that regular users are going to go to Apple's customer service and complain about sites that aren't working on their phones. People just don't do that. It's a tricky conundrum.

[–] BlackEco@lemmy.blackeco.com 5 points 1 day ago

Yes, why is Apple still tying Safari updates to iOS's in 2025? Android's WebView can be updated from the Play Store.