Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uicardiodev/hugo-sodium-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scss/mixins/_transition.scss')
-rwxr-xr-xscss/mixins/_transition.scss9
1 files changed, 9 insertions, 0 deletions
diff --git a/scss/mixins/_transition.scss b/scss/mixins/_transition.scss
new file mode 100755
index 0000000..7e33dee
--- /dev/null
+++ b/scss/mixins/_transition.scss
@@ -0,0 +1,9 @@
+@mixin transition($transition...) {
+ @if $enable-transitions {
+ @if length($transition) == 0 {
+ transition: $transition-base;
+ } @else {
+ transition: $transition;
+ }
+ }
+}