helvede.net is one of the many independent Mastodon servers you can use to participate in the fediverse.
Velkommen til Helvede, fediversets hotteste instance! Vi er en queerfeministisk server, der shitposter i den 9. cirkel. Welcome to Hell, We’re a DK-based queerfeminist server. Read our server rules!

Server stats:

159
active users

#css

23 posts21 participants3 posts today

A little UI I made for a checklist app that works nicely. The pie-chart is a conic-gradient with the start and end colors sharing the same degrees which makes a hard edge.

Unfortunately, at this time, you can't animate a conic-gradient value in CSS.

#UI#CSS#WebDev

New Kitten release 🎉

kitten.small-web.org

• New: Lovely new icons¹ and new callouts in Kitten Settings²

• New: Markdown now supports attributes and bracketed spans³

• New: client-side `kitten` global with `trigger` function for triggering events on the server from the client. (Useful when streaming client-side JavaScript when using Kitten’s Streaming HTML⁴ workflow. e.g., when you have to use a client-only web API like the Clipboard API but you want to keep all your logic on your server-side page.⁵)

• Fixed: The bound render function returned by `KittenComponent` class’s `component` getter now correctly awaits asynchronous templates. (In Kitten, you don’t have to care whether your templates contain promises. Kitten handles all that for you.)

Enjoy! :kitten:💕

¹ kitten.small-web.org/reference

² mastodon.ar.al/@aral/114381983

³ kitten.small-web.org/reference (also see mastodon.ar.al/@aral/114381462)

kitten.small-web.org/tutorials

⁵ e.g., See how I use this to implement a copy to clipboard button in the database page of Kitten’s Settings: codeberg.org/kitten/app/src/br Of course, you don’t have to use this and you can just write client-side JavaScript or use the built-in Alpine.js integration. e.g., how I do it on the (older) settings/identity page: codeberg.org/kitten/app/src/br

#Kitten#SmallWeb#web

I did it! I managed to squeeze an animated .html "demo" into just 256 bytes (text string size).

You can view it here:
hlnet.neocities.org/256b

Can anyone else make a better one?

This is the whole source:

<style>*{display:grid;height:100%;background:repeating-radial-gradient(1Q.01Q at calc(50%*(1 - sin(var(---)*pi)))calc(50%*(1 - cos(var(---)*pi))),tan,red);animation:a 9s 9}@property ---{syntax:"<number>";inherits:true;initial-value:0}@keyframes a{to{---:2;

A question for the web development experts here on the Fediverse!

I'm building a small static website and would like to use stylesheets from the NPM archive in addition to a Sass file of my own. That is, that I can use directives like @import node_modules/example/styles.css directives in the Sass file, and those referenced stylesheets will be bundled along with the compiled Sass into a single CSS file. That single CSS file is what's distributed on the website and loaded by the user's browser.

My attempts so far have involved using esbuild, which claims to be able to bundle CSS.esbuild-sass-plugin is supposed to expand this to support compiling Sass with dart-sass.

Every way I configure it, I either get esbuild complaining that it can't resolve the @imports, or it just copies the @imports through verbatim without actually bundling the external stylesheets. Articles that I can find online suggest writing JavaScript code to apply the styles and bundling that, which isn't the same thing at all!

Thus comes the question: is what I would like possible with esbuild, and if not, what's the best way of doing it?

cssbun seems to come close, but that still leaves me with Sass compilation and optimization to do separately, and there's no command-line interface. I'd also like to stick with a well-known toolchain if possible.

Thanks in advance!

An extremely lightweight bundler that does nothing but merge your css files using the import syntax. - markwylde/cssbun
GitHubGitHub - markwylde/cssbun: An extremely lightweight bundler that does nothing but merge your css files using the import syntax.An extremely lightweight bundler that does nothing but merge your css files using the import syntax. - markwylde/cssbun

My April IndieWeb blog carnival entry on “renewal”!

I often feel compelled to tweak and redesign my website at the expense of other things I value. I talk about reconnecting with what I most enjoy about composing and coding, and avoiding treating my leisure and projects as if I need to impress someone.

reillyspitzfaden.com/posts/202

Pixel art of a radio tower and floppy disk, with pixel art text reading 'Reilly Spitzfaden'
reillyspitzfaden.comIndieWeb Blog Carnival — “Renewal”

I’m fortunate to have worked with a lot of amazing designers over the years. Some were curious about designing in the browser with basic #HTML and #CSS, but weren’t sure where to begin, or felt discouraged by a lot of developer-centric content.

This is the advice I gave that seemed to resonate most: cloudfour.com/thinks/designing

The author smiles warmly next to five floating icons representing concepts from this article
Cloud Four · Designing in the Browser: Five Tips for Beginners
More from Tyler Sticka

Have you ever wanted to have gap-rules in your #CSS Grid layouts, similar to column-rules? The Gap Decorations specification has its first public working draft! w3.org/TR/2025/WD-css-gaps-1-2

(“First public working draft” means it’s still being worked on and things in it might change, but the work has been made public and is now part of the historical record. This is a good time for the community [including YOU!] to read it and give feedback. Do **NOT** expect implementations right away.)

www.w3.orgCSS Gap Decorations Module Level 1