mas.to is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hello! mas.to is a fast, up-to-date and fun Mastodon server.

Administered by:

Server stats:

12K
active users

#tailwind

6 posts6 participants0 posts today

“Tailwind's @apply Feature is Better Than it Sounds” by Zell Liew

🔗 css-tricks.com/tailwinds-apply

> Tailwind’s utilities are very powerful by themselves, but they’re even more powerful if you allow yourself to use `@apply` (and allow yourself to detach from traditional Tailwind advice). By doing this, you gain access to Tailwind as a tool instead of it being a dogmatic approach.

#CSS #Sass #Tailwind

⚓nicolas-hoizey.com/links/2025/

“Defending Tailwind” by @donniedamato

🔗 blog.damato.design/posts/defen

> The fact is folks who use Tailwind aren’t thinking about responsibility and scale in this way. They are thinking how can I push this out as fast as possible. And Tailwind is great for that. Educating on best practices is always hard. In the year 2025, I still see people struggling with responsive design techniques.

#CSS #Tailwind

⚓nicolas-hoizey.com/links/2025/

#PreludeTech's next weekend learning sprint on 10/11 May.

Pick a topic, learn through hands-on practice, connect with other ambitious devs, and get expert support on tap!

- Modern frontend development with #Django, #HTMX, #Tailwind, #Playwright and #AlpineJS: buff.ly/OQFbNGB
- Adding Authentication to your Django app: #AllAuth integration and customisation: buff.ly/7VhjPHK
- Getting #Git: A Beginner’s Guide to Version Control and the Terminal: buff.ly/BGBbNJm

Replied in thread

@keila I just don’t understand why someone would use #Tailwind CSS — which is all about utility-first — and then do the exact opposite by introducing component abstractions like in #daisyUI.

My take: You can like utility-first or not (I do), but things like daisyUI go completely against that principle and feel like an explicit anti-pattern. If that’s your direction, why use Tailwind CSS in the first place?

tailwindcss.com/docs/utility-f

tailwindcss.comStyling with utility classes - Core conceptsBuilding complex components from a constrained set of primitive utilities.

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

🧵 👇

“Defending Tailwind” by @donniedamato

🔗 blog.damato.design/posts/defen

> The fact is folks who use Tailwind aren’t thinking about responsibility and scale in this way. They are thinking how can I push this out as fast as possible. And Tailwind is great for that. Educating on best practices is always hard. In the year 2025, I still see people struggling with responsive design techniques.

#CSS #Tailwind

⚓nicolas-hoizey.com/links/2025/

What's the easiest way to get #tailwind working in a #django project? Version 3 is completely fine. Possibly django-tailwind.readthedocs.io? Or is there something that integrates with the development server rather than you needing to start two long-running processes?

(While I've used Tailwind with SvelteKit - where it's super seamless, I've never used it with Django)

django-tailwind.readthedocs.ioWelcome to Django Tailwind’s documentation! — Django-Tailwind 2.0.0 documentation

Petite mis-à-jour du tableau de borde "mon département" pour le baromètre vélo.
L'entête a changé un peu, et affiche désormais le total des réponses dans le département (ou le préfixe choisi en tout cas)
Merci aux utilisateur·ice·s pour les retours, ça fait du bien! 😊

barometre.toulon-var-deplaceme

github.com/black-puppydog/baro

#rustlang #dioxus #tailwind #var #toulon #france #baromètreVélo2025 #vélo #fub
/cc @fub @tvd

ライトモードとダークモードの切り替えはやっぱり #OpenProps みたいに CSS 変数でやるべきだな

#Tailwind が html タグに dark ってタグとか付けさせようとしててちょっとげんなりしている
まあマニュアル切り替えみたいなことするならそういうのもあるとは思うけど、なんかやっぱり Tailwind は CSS 知ってると遠回りでしかないように感じる

tailwindcss.com/docs/dark-mode

tailwindcss.comDark mode - Core conceptsUsing variants to style your site in dark mode.