Pollen – A library of CSS variables inspired by TailwindCSS

Introducing Pollen.
Functional CSS for the future

Read in full here:

This thread was posted by one of our members via one of our news source trackers.

2 Likes

Corresponding tweet for this thread:

Share link for this tweet.

2 Likes

I still find it hard to use libraries like tailwind and such, I prefer a more fully BEM approach where elements are important based on their location in their parents or by what specific selector they are. Using selector names like grid-12 or whatever feels way way too much like putting the presentation data in the html directly instead of just properly linking it…

1 Like

It seems to me that Pollen CSS allows you to build BEM approach CSS files that use the good ideas from Tailwind (well-defined standard-definitions that can be changed easily at the root), since it’s all based on CSS custom properties (“variables”).

2 Likes