File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 27
27
< h1 > < span > C</ span > < span > S</ span > < span > S</ span > Pattern</ h1 >
28
28
< p > powered by CSS gradients</ p >
29
29
< h2 > the biggest collection of background Patterns</ h2 >
30
- < p > Explore 134 CSS-only patterns made with CSS gradients and optimized with CSS variables.</ p >
30
+ < p > Explore 135 CSS-only patterns made with CSS gradients and optimized with CSS variables.</ p >
31
31
</ header >
32
32
< script async src ="https://media.ethicalads.io/media/client/ethicalads.min.js "> </ script >
33
33
< div class ="adaptive " data-ea-publisher ="css-challengescom " id ="css-pattern " data-ea-type ="text " data-ea-style ="fixedfooter "> </ div >
@@ -2328,6 +2328,20 @@ <h2>the biggest collection of background Patterns</h2>
2328
2328
var (--g1 ), var (--g1 ) var (--s ) var (--s ) # CFF09E ;
2329
2329
background-size : calc (2 * var (--s )) calc (2 * var (--s ));
2330
2330
}
2331
+ </ style > < button > Copy the CSS</ button >
2332
+ </ section >
2333
+ < section id ="g135 ">
2334
+ < style > # g135 {
2335
+ --s : 80px ; /* control the size */
2336
+
2337
+ --c : # 6B5344 0 ;
2338
+ --g : conic-gradient (at 50% 25% , # 0000 75% , var (--c ));
2339
+ background :
2340
+ repeating-linear-gradient (# 0000 0 48% , var (--c ) 50% ), var (--g ),
2341
+ conic-gradient (# 0000 75% , var (--c )) calc (var (--s )/ 4 ) calc (var (--s )/ 2 ),
2342
+ var (--g ) calc (var (--s )/ 2 ) var (--s ) # F8ECC9 ;
2343
+ background-size : var (--s ) var (--s ), var (--s ) calc (2 * var (--s ));
2344
+ }
2331
2345
</ style > < button > Copy the CSS</ button >
2332
2346
</ section >
2333
2347
< section >
You can’t perform that action at this time.
0 commit comments