Skip to content

Commit fd75a33

Browse files
committed
add rotate css utilities.
1 parent ea354ee commit fd75a33

5 files changed

Lines changed: 196 additions & 637 deletions

File tree

‎frontend/purestack.studio/guides/utility-css-classes.mdx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ Shadow classes read the theme's effect tokens, so depth follows the skin and its
228228
| `lift-1`, `lift-2` | Raise an element by `2px` or `4px`. Use the `-hover` form for hover feedback. |
229229
| `nudge-hover` | On hover, slides a row's children inward by `0.5rem`. |
230230
| `transition` | Animates background, border color, shadow, color, and transform changes. |
231+
| `rotate-1`, `rotate-2`, `rotate-3` | Tilt an element clockwise by `1deg` to `3deg`; `-rotate-*` tilts the other way. They set the `rotate` property, so they combine with `lift-*`. |
231232

232233
Combine them for hover feedback without custom CSS. Transitions and the nudge stop when the visitor prefers reduced motion:
233234

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<TopBar tone="neutral" variant="surfaceAlt" signInEnabled="false" />
1+
<TopBar tone="neutral" variant="surfaceAlt" signInEnabled="false"/>

0 commit comments

Comments
 (0)