Skip to content

Commit 1f94f43

Browse files
committed
#87
1 parent 7919e42 commit 1f94f43

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
@@ -1501,6 +1501,20 @@ <h1><span>C</span><span>S</span><span>S</span> Pattern</h1>
15011501
conic-gradient(from -90deg at 75% 25%,var(--c2) 75%,var(--c1) 0);
15021502
background-size: var(--s) var(--s);
15031503
}
1504+
</style><button>Copy the CSS</button>
1505+
</section>
1506+
<section id="g87">
1507+
<style>#g87 {
1508+
--s: 50px; /* control the size */
1509+
1510+
--c: #0000 75%,#292522 0;
1511+
--g1: conic-gradient(at 75% 25%,var(--c));
1512+
--g2: conic-gradient(at 25% 75%,var(--c));
1513+
background:
1514+
var(--g1),var(--g1) var(--s) var(--s),
1515+
var(--g2),var(--g2) var(--s) var(--s) #EFD9B4;
1516+
background-size: calc(2*var(--s)) calc(2*var(--s));
1517+
}
15041518
</style><button>Copy the CSS</button>
15051519
</section>
15061520
<a target="_blank" href="https://github.com/Afif13/CSS-Pattern" class="credit">

0 commit comments

Comments
 (0)