76
 
 

VoidZero is excited to announce that we are joining Cloudflare. Vite, Vitest, Rolldown, Oxc, and Vite+ will remain open-source and MIT-licensed. Evan and the rest of the VoidZero team will continue to lead these projects, with Cloudflare fully committed to supporting our mission.

77
78
Text imports (olliewilliams.xyz)
 
 

You can now import a file as a JavaScript string using the new text import attribute.

This feature is currently supported in Bun, Deno and Firefox Nightly.

79
 
 

Until fairly recently, there was no way to get an entire color scale live generated based on one color using vanilla CSS.

You could do something like it at build-time using SASS. Or you could do something like it “live” using JavaScript—but purely for demo/one-off purposes.

However, now that we have real CSS functions calculating color math in real-time, we have the ability set a single color in a stylesheet—and everything else will come along for the ride!

80
81
CSS-native parallax effect (dan-webnotes.com)
submitted 1 month ago by to c/webdev@programming.dev
82
83
84
85
submitted 1 month ago* (last edited 1 month ago) by to c/webdev@programming.dev
 
 

I recently decided to ditch my ancient WordPress portfolio and build a new site from scratch.

Because I wanted to show off a little bit, I decided I wanted to make it into a 2D side-scroller using Little.js. The issue was figuring out how I could keep the site accessible.

I just wrote the first blog post in a series on how I am making that very site.
The site is still a work in progress; but I felt this could interest people here. And it gives me a chance to test out the blog feature I just coded in.

86
87
88
89
CSS vs. JavaScript (www.joshwcomeau.com)
 
 

One of the most common questions around animation performance is whether JS-based animations are slower than CSS-based ones. Should we always strive to use CSS transitions, or is it OK to use JavaScript animation libraries?

There’s a surprising amount of nuance to this question, and I think that the conventional wisdom isn’t quite right. In this post, we’re going to dig into this question and see the differences for ourselves!

90
91
92
93
94
95
96
 
 

I recently realized that I've been tinkering on my main hobby project for a year now, and that it's not even remotely at a point where I'd be willing to publish it (either by actually launching it or by Open-sourcing and handing it off to someone else). But one of the features I built in recently, a fully customizable website theming function, seemed actually pretty solid and pleasant to use, so I'd like to share it within this separate project.

-> Here's the link to my live demo
-> Here's the link to my codeberg repo

If you have any questions, feel free to ask them here! I realize that documentation is not my strong suit haha
Any feedback or suggestions are appreciated as well :)

97
98
99
100
 
 

Safari and Firefox change how big sites render based on the domain. TikTok, Netflix, Instagram… even SeatGuru. Chrome doesn’t. Why is that?

view more: ‹ prev next ›