@@ -46,25 +46,23 @@ Atomic CSS toolkit with Sass and ergonomics for creating styles of any complexit
4646### Great ergonomics
4747Shorter class names:
4848``` html
49- <!-- Example from https://www.shopify.com/ -->
50-
5149<!-- Tailwindcss -->
52- <div class =" hidden md:block md:col-span-6 md: col-start-7 lg:col- span-5 lg: col-start-8 pb-6 relative md:max-h-[130vh] reduced-motion:translate-y-0 will-change-transform duration-1000 ease-in-out transition-all reduced-motion:opacity-100 " >... </div >
50+ <div class =" relative -bottom-px col-span-full col-start-1 row-start-2 h-px bg-(--cardBg) " > </div >
5351
5452<!-- mlut -->
55- <div class =" D-n md_D md_Gc-s1 md_Gcs7 lg_Gc-s5 lg_Gcs8 Pb6u Ps md_Mxh130vh Tf @:pfrm_-Try0 Wlc-tf Tsd1s Tstf-eio Ts-all @:pfrm_O1 " >... </div >
53+ <div class =" Ps B-1 Gc1/-1 Gcs1 Grs2 H1 Bgc-$cardBg " > </div >
5654```
5755Convenient syntax for complex values, states and at-rules. It is like Vim for CSS.
5856
5957** ❌ Tailwindcss:**
6058
6159- ` [@media(any-hover:hover){&:hover}]:opacity-100 `
62- - ` text-[color :var(--my-var,#333 )] `
60+ - ` text-[length :var(--myVar,1.3rem )] `
6361- ` supports-[margin:1svw]:ml-[1svw] `
6462
6563** ✅ mlut:**
6664- ` @:ah_O1_h ` => ` @media (any-hover) { .\@\:ah_O1_h:hover { opacity: 1 } } `
67- - ` C -$myVar?#333 ` => ` color : var(--ml-myVar, #333) `
65+ - ` Fns -$myVar?1.3 ` => ` font-size : var(--ml-myVar, 1.3rem); `
6866- ` @s_Ml1svw ` => ` @supports (margin-left: 1svw) { .\@s_Ml1svw { margin-left: 1svw } } `
6967
7068</section >
@@ -172,15 +170,17 @@ Addons may contains any tools, settings and styles. Addons now at the **preview*
172170- Atomic CSS Deep Dive: [ EN] ( https://dev.to/mr150/atomic-css-deep-dive-1hee ) , [ RU] ( https://habr.com/ru/articles/833712/ )
173171- [ mlut - a new word in the Utility-First CSS approach] ( https://dev.to/mr150/mlut-a-new-word-in-the-utility-first-css-approach-gbl )
174172- How to make one plugin for all frontend bundlers at once: [ RU] ( https://habr.com/ru/articles/856028/ )
173+ - Interactive lesson: [ RU] ( https://htmlacademy.ru/demos/183 )
175174
176175</section >
177176
178177<section class =" Mb4gg " >
179178
180179## What next? ##
181- - first class CSS functions in utilities values
182- - states and at-rules grouping
180+ - ability to run in a browser
181+ - first-class pseudoselectors with arguments like ` has() `
183182- performance optimization
183+ - plugins for editors and IDEs with hints and autocompletion
184184- and much more!
185185
186186</section >
0 commit comments