Loading community creations...
Try different values. Your changes stay in this preview and never change the saved project.
Create variables once and reuse them across layers. Choose which controls to share so visitors can make the design their own, without changing your original.
--color-1: rgb(69 91 110 / 1);
--color-2: rgb(58 71 84 / 1);
--background: rgb(1 6 13 / 1);
--strip-thickness: 40;
--shadow-size: 10;
width: 500px;
height: 500px;
background:
linear-gradient(-45deg, rgb(58 70 83 / 1) calc(calc((var(--strip-thickness) / 2)) / 1 * 1%), rgb(0 0 0 / 0.5) calc(calc(((var(--strip-thickness) / 2) + 1)) / 1 * 1%), rgb(0 0 0 / 0.3) calc(calc(((var(--strip-thickness) / 2) + 2)) / 1 * 1%), rgb(255 255 255 / 0) calc(calc(((var(--strip-thickness) / 2) + var(--shadow-size))) / 1 * 1%), rgb(255 255 255 / 0) calc(calc(((100 - (var(--strip-thickness) / 2)) - var(--shadow-size))) / 1 * 1%), rgb(0 0 0 / 0.3) calc(calc(((100 - (var(--strip-thickness) / 2)) - 2)) / 1 * 1%), rgb(0 0 0 / 0.5) calc(calc(((100 - (var(--strip-thickness) / 2)) - 1)) / 1 * 1%), rgb(58 70 83 / 1) calc(calc((100 - (var(--strip-thickness) / 2))) / 1 * 1%)) 0px 0px / 100px 100px repeat repeat, /* -45deg fiber */
linear-gradient(45deg, rgb(255 255 255 / 0) calc(calc((((100 - var(--strip-thickness)) / 2) - var(--shadow-size))) / 1 * 1%), rgb(0 0 0 / 0.3) calc(calc((((100 - var(--strip-thickness)) / 2) - 2)) / 1 * 1%), rgb(0 0 0 / 0.6) calc(calc((((100 - var(--strip-thickness)) / 2) - 1)) / 1 * 1%), var(--color-1) calc(calc(((100 - var(--strip-thickness)) / 2)) / 1 * 1%), rgb(69 90 109 / 1) calc(calc((100 - ((100 - var(--strip-thickness)) / 2))) / 1 * 1%), rgb(0 0 0 / 0.6) calc(calc(((100 - ((100 - var(--strip-thickness)) / 2)) + 1)) / 1 * 1%), rgb(0 0 0 / 0.3) calc(calc(((100 - ((100 - var(--strip-thickness)) / 2)) + 2)) / 1 * 1%), rgb(255 255 255 / 0) calc(calc((100 - (((100 - var(--strip-thickness)) / 2) - var(--shadow-size)))) / 1 * 1%)) 0px 0px / 100px 100px repeat repeat, /* 45deg fiber */
linear-gradient(-45deg, rgb(255 255 255 / 0) calc(calc((((100 - var(--strip-thickness)) / 2) - 1)) / 1 * 1%), var(--color-2) calc(calc(((100 - var(--strip-thickness)) / 2)) / 1 * 1%), var(--color-2) calc(calc((100 - ((100 - var(--strip-thickness)) / 2))) / 1 * 1%), rgb(255 255 255 / 0) calc(calc(((100 - ((100 - var(--strip-thickness)) / 2)) + 1)) / 1 * 1%)) 0px 0px / 100px 100px repeat repeat, /* -45deg fiber */
linear-gradient(var(--background), var(--background)) 0px 0px / 100px 100px repeat repeat; /* Background */Control how one color flows into the next. Choose an easing preset or shape your own curve, then adjust the steps to balance smoothness and CSS size.
Add texture alongside your gradients. Explore fractal noise and turbulence, then tune the frequency, octaves, and seed to make it your own.
Start with a blank canvas or follow a spark from the community.
Your next idea belongs here.