File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 22
22
< meta property ="og:image:width " content ="1600 " />
23
23
< meta property ="og:image:height " content ="800 " />
24
24
< link href ="https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap " rel ="stylesheet ">
25
- < link rel ="stylesheet " href ="style.css?v=0.75 ">
25
+ < link rel ="stylesheet " href ="style.css?v=0.76 ">
26
26
<!-- Global site tag (gtag.js) - Google Analytics -->
27
27
< script async src ="https://www.googletagmanager.com/gtag/js?id=G-CVMK530JFV "> </ script >
28
28
< script >
@@ -1315,6 +1315,23 @@ <h1><span>C</span><span>S</span><span>S</span> Pattern</h1>
1315
1315
repeating-conic-gradient(#F2E9E1 0 45deg,#99B2B7 0 90deg)
1316
1316
0 0/100px 100px;
1317
1317
}
1318
+ </ code > < button > Copy the CSS</ button > </ pre >
1319
+ </ section >
1320
+ < section >
1321
+ < pre > < code > html {
1322
+ --s: 50px; /* control the size */
1323
+ --c1: #D9CEB2;
1324
+ --c2: #948C75;
1325
+
1326
+ --_g: calc(2*var(--s)) calc(2*var(--s))
1327
+ radial-gradient(25% 25%,var(--c1) 99%,#0000 101%);
1328
+ background:
1329
+ 0 var(--s)/var(--_g),var(--s) 0/var(--_g),
1330
+ radial-gradient(50% 50%,var(--c2) 97%,#0000)
1331
+ calc(var(--s)/2) calc(var(--s)/2)/var(--s) var(--s),
1332
+ linear-gradient(90deg,var(--c1) 50%,var(--c2) 0)
1333
+ 0 0/calc(2*var(--s));
1334
+ }
1318
1335
</ code > < button > Copy the CSS</ button > </ pre >
1319
1336
</ section >
1320
1337
< a target ="_blank " href ="https://github.com/Afif13/CSS-Pattern " class ="credit ">
You can’t perform that action at this time.
0 commit comments