Testing better transition

This commit is contained in:
Emile Bangma 2025-11-05 16:39:58 +01:00 committed by GitHub
parent 60f782893a
commit a46c92eb0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -123,16 +123,22 @@
transform: rotateZ(-90deg); transform: rotateZ(-90deg);
} }
.callout-content > * { .callout-content {
transition: & > * {
height 0.1s cubic-bezier(0.02, 0.01, 0.47, 1), transition:
margin 0.1s cubic-bezier(0.02, 0.01, 0.47, 1); height 0.1s cubic-bezier(0.02, 0.01, 0.47, 1),
overflow-y: clip; margin 0.1s cubic-bezier(0.02, 0.01, 0.47, 1),
height: 0; padding 0.1s cubic-bezier(0.02, 0.01, 0.47, 1);
margin-bottom: 0; overflow-y: clip;
margin-top: 0; height: 0;
padding-bottom: 0; margin-bottom: 0;
padding-top: 0; margin-top: 0;
padding-bottom: 0;
padding-top: 0;
}
& > :first-child {
margin-top: -1rem;
}
} }
} }
} }