Skip to content

Commit 833ba1e

Browse files
authored
Update index.html
1 parent e18734b commit 833ba1e

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

index.html

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<meta property="og:image:width" content="1600" />
2323
<meta property="og:image:height" content="800" />
2424
<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">
2626
<!-- Global site tag (gtag.js) - Google Analytics -->
2727
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CVMK530JFV"></script>
2828
<script>
@@ -1315,6 +1315,23 @@ <h1><span>C</span><span>S</span><span>S</span> Pattern</h1>
13151315
repeating-conic-gradient(#F2E9E1 0 45deg,#99B2B7 0 90deg)
13161316
0 0/100px 100px;
13171317
}
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+
}
13181335
</code><button>Copy the CSS</button></pre>
13191336
</section>
13201337
<a target="_blank" href="https://github.com/Afif13/CSS-Pattern" class="credit">

0 commit comments

Comments
 (0)