Skip to content

Commit

Permalink
Debugging CSS transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
mj12albert committed Nov 17, 2024
1 parent 42077e9 commit 307c354
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions docs/src/app/experiments/collapsible.module.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.wrapper {
--width: 320px;
--duration: 300ms;
--duration: 1000ms;

font-family: system-ui, sans-serif;
line-height: 1.4;
Expand Down Expand Up @@ -55,18 +55,19 @@
animation: slideUp var(--duration) ease-in;
}

.panel.transition[data-open] {
height: var(--collapsible-panel-height);
transition: height var(--duration) ease-out;
}

.panel.transition {
height: 0;
transition: height var(--duration) ease-in;
}

.panel.transition[data-open] {
height: var(--collapsible-panel-height);
transition: height var(--duration) ease-out;
}

.panel.transition[data-entering] {
height: 0;
height: var(--collapsible-panel-height);
/* transition: height var(--duration) ease-out;*/
}

.panel.framer {
Expand Down

0 comments on commit 307c354

Please sign in to comment.