sigmoid.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A social space for people researching, working with, or just interested in AI!

Server stats:

733
active users

#css

82 posts63 participants2 posts today

What I really like about the current state of #CSS with things like grid, flexbox, relative units, etc.:

It is "describe your intent and let the browser handle the math and details". It can be complex at times, because you have to clearly express your intent, but it's also immensely powerful.

I still remember getting yelled at by so called "Art Directors" for not being able to 100% reproduce their "pixel perfect" Photoshop layouts across multiple browsers and operating systems.

New features in #Tailwind #CSS v4.1

- Text Shadows (with size and intensity modifiers)
- Text Shadow Colors
- CSS Masks Support
- Edge masks (mask-r, mask-b)
- Radial masks (mask-radial)
- Conic and custom linear masks
- Combination of masks

🧵 👇

Continued thread

It has exceeded my efforts in that it has created an app that *looks* better than my efforts, because it is continually updating #css to go along with the #blazor pages and code. I lag behind on the UI design, as that's not my strong suit.

It has fallen behind, because my code has a data store, and I haven't asked the AI to build out the backend yet.

🧵

Continued thread

I hadn't heard of it before, but it turns out there's a style format called XSLT that allows the browser to translate an XML file into HTML with CSS styling for display purposes.

Since my feed is Atom rather than RSS, I had a bit of trouble, but this post was helpful:

andrewstiefel.com/style-atom-x

Andrew Stiefel · How to Style an Atom Feed with XSLT
More from Andrew Stiefel
#RSS#Atom#XML

I figured out how to get my RSS feed to be human-readable and nice-looking!

I'd been wanting to do this to give people who aren't familiar with RSS an easier on-ramp to the stuff I care about.

I figure if someone new to RSS clicks on the link and just gets raw XML, they might think something is “broken” and not stick around, but now there's something human-readable and with instructions on how to follow it in a reader.

reillyspitzfaden.com/feed.xml

#RSS#Atom#XML

Dynamic #CSS Display Utility with Custom Properties - What if you wanted to create a single CSS utility class but also wanted to dynamically set the value of the `display` property set within the utility class? What if you also wanted this utility to have a fallback?

Turns out you do not have to wait for mixins, but you can do this today using CSS custom properties.

I am still SUPER excited to play with mixins though 😁

youtube.com/watch?v=qVXOICrnp3 #webdev