Unocss or Master CSS ? #74
Replies: 1 comment
-
Master CSS is a new CSS language with a structured syntax, so we can highlight class names in markup. module.exports = {
classes: {
'title': 'font:48 font:bold mb:4',
'link': 'bg:green-70 fg:white'
}
} Currently there is no plan to provide |
Beta Was this translation helpful? Give feedback.
-
Master CSS is like fresh air in the Tailwind ecosystem (Tailwind CSS, Windi CSS, Unocss, etc.).
I use Unocss with component-based frameworks like Astro and Svelte.
Some issues prevent me to switch to Master CSS:
(*) of course, it implies use of static CSS classes only and not dynamic
font:${size}
nor(isVisible ? 'block' : 'hide')
In component-based frameworks, I use @apply in
<style>
instead of HTMLclass=
as separation of concerns (SOC):Beta Was this translation helpful? Give feedback.
All reactions