Skip to content

Commit a7546a8

Browse files
committed
#89
1 parent 87360f1 commit a7546a8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

index.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1530,6 +1530,24 @@ <h1><span>C</span><span>S</span><span>S</span> Pattern</h1>
15301530
conic-gradient(at 25% 75%,var(--c1) 25%,var(--c2) 0);
15311531
background-size: var(--s) var(--s);
15321532
}
1533+
</style><button>Copy the CSS</button>
1534+
</section>
1535+
<section id="g89">
1536+
<style>#g89 {
1537+
--s: 100px; /* control the size */
1538+
--c1: #80BCA3;
1539+
--c2: #655643;
1540+
1541+
background:
1542+
radial-gradient(var(--c2) 15%,
1543+
#0000 17% 20%,var(--c2) 22% 25%,
1544+
#0000 27% 30%,var(--c2) 32% 35%,
1545+
#0000 37% 40%,var(--c2) 42% 45%,
1546+
#0000 47% 50%,var(--c2) 52% 55%, var(--c1) 57%)
1547+
calc(var(--s)/2) 0/var(--s) var(--s),
1548+
repeating-conic-gradient(var(--c2) 0 25%,var(--c1) 0 50%)
1549+
0 0/calc(2*var(--s)) calc(2*var(--s))
1550+
}
15331551
</style><button>Copy the CSS</button>
15341552
</section>
15351553
<a target="_blank" href="https://github.com/Afif13/CSS-Pattern" class="credit">

0 commit comments

Comments
 (0)