Skip to content

Commit ca2aa2a

Browse files
authored
Update index.html
1 parent b446fbe commit ca2aa2a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,6 +1332,20 @@ <h1><span>C</span><span>S</span><span>S</span> Pattern</h1>
13321332
linear-gradient(90deg,var(--c1) 50%,var(--c2) 0)
13331333
0 0/calc(2*var(--s));
13341334
}
1335+
</code><button>Copy the CSS</button></pre>
1336+
</section>
1337+
<section>
1338+
<pre ><code>html {
1339+
--s: 100px; /* control the size */
1340+
--c1: #5A3D31;
1341+
--c2: #E5EDB8;
1342+
1343+
background:
1344+
radial-gradient(#0000 50%,var(--c1) 52% 55%,var(--c2) 57%)
1345+
0 0/var(--s) var(--s),
1346+
repeating-linear-gradient(45deg,var(--c1) 0 25%,var(--c2) 0 50%)
1347+
0 0/calc(2*var(--s)) calc(2*var(--s))
1348+
}
13351349
</code><button>Copy the CSS</button></pre>
13361350
</section>
13371351
<a target="_blank" href="https://github.com/Afif13/CSS-Pattern" class="credit">

0 commit comments

Comments
 (0)