Last active
October 19, 2018 07:31
-
-
Save yuanchuan/6bc8d860876330a9d549c4dc0d0ca893 to your computer and use it in GitHub Desktop.
Alien land
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<css-doodle> | |
:doodle { | |
@grid: 20x1 / 60vmin; | |
overflow: hidden; | |
} | |
:container { | |
transform: scale(25); | |
filter: @svg-filter(<svg> | |
<filter> | |
<feTurbulence baseFrequency="@r(.016, .056, .001)" seed="@r(100)" numOctaves="@r(8, 15)" /> | |
<feDisplacementMap in="SourceGraphic" scale="@r(-100, 100)" /> | |
</filter> | |
</svg>); | |
} | |
filter: @svg-filter(<svg> | |
<filter> | |
<feGaussianBlur in="SourceGraphic" stdDeviation="20 0" result="blur" /> | |
</filter> | |
</svg>); | |
@place-cell: center; | |
@size: 100%; | |
@random(.8) { | |
mix-blend-mode: overlay; | |
} | |
background: @multi(200, ( | |
radial-gradient(@pick(#E63946, #F1FAEE, #A8DADC, #457B9D, #1D3557), transparent) | |
@r(0%, 100%, .1) @r(0%, 100%, .1) / @r(30%) @r(5%) | |
no-repeat | |
)); | |
); | |
</css-doodle> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment