mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-22 07:54:11 -05:00
Add a smooth-gradient mixin
This commit is contained in:
parent
6ce7600ff2
commit
d04bbee745
1 changed files with 3 additions and 0 deletions
3
resources/assets/sass/mixins/_smooth-gradient.scss
vendored
Normal file
3
resources/assets/sass/mixins/_smooth-gradient.scss
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
@mixin smooth-gradient($direction, $color) {
|
||||
background: linear-gradient($direction, $color 0%, fade-out($color, 0.022) 9.5%, fade-out($color, 0.075) 17.7%, fade-out($color, 0.143) 24.7%, fade-out($color, 0.219) 31%, fade-out($color, 0.299) 36.8%, fade-out($color, 0.38) 42.3%, fade-out($color, 0.462) 47.6%, fade-out($color, 0.545) 52.9%, fade-out($color, 0.627) 58.2%, fade-out($color, 0.709) 63.7%, fade-out($color, 0.788) 69.5%, fade-out($color, 0.862) 75.8%, fade-out($color, 0.93) 82.9%, fade-out($color, 0.981) 91.2%, fade-out($color, 1) 100%);
|
||||
}
|
Loading…
Reference in a new issue