mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 02:04:29 -07:00
Init v1
This commit is contained in:
24
docs/_sass/utils.scss
Normal file
24
docs/_sass/utils.scss
Normal file
@@ -0,0 +1,24 @@
|
||||
$header-bp: 1000px;
|
||||
|
||||
%bd-animated {
|
||||
animation-duration: var(--animation-duration);
|
||||
animation-fill-mode: both;
|
||||
animation-timing-function: cubic-bezier(0, 0, 0, 1);
|
||||
transform-origin: center;
|
||||
transform-style: preserve-3d;
|
||||
}
|
||||
|
||||
%anim-3d {
|
||||
animation-duration: 500ms;
|
||||
animation-fill-mode: both;
|
||||
animation-timing-function: cubic-bezier(0, 0, 0, 1);
|
||||
backface-visibility: hidden;
|
||||
}
|
||||
|
||||
@mixin bd-animate($name) {
|
||||
@extend %bd-animated;
|
||||
|
||||
&.is-animated {
|
||||
animation-name: $name;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user