Skip to content

Commit

Permalink
trying css rotate now
Browse files Browse the repository at this point in the history
  • Loading branch information
stacyk committed Jan 9, 2024
1 parent 281ad19 commit fee5ca9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sass/patterns/_disclosure.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ summary {
grid-column: 2;
grid-row: 1;
margin-block-start: var(--half-shim);
transform: rotate(0deg);
transition: transform var(--fast);
rotate: var(--rotate-triangle, none);
transition: rotate var(--fast);

[open] & {
transform: rotate(90deg);
--rotate-triangle: 90deg;
}
}
}

0 comments on commit fee5ca9

Please sign in to comment.