Skip to content

Commit 49e517e

Browse files
committed
#100
1 parent a6a9553 commit 49e517e

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

index.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1705,6 +1705,26 @@ <h1><span>C</span><span>S</span><span>S</span> Pattern</h1>
17051705
#FAD3B2;
17061706
background-size: var(--s) calc(tan(var(--a))*var(--s))
17071707
}
1708+
</style><button>Copy the CSS</button>
1709+
</section>
1710+
<section id="g100">
1711+
<style>#g100 {
1712+
--s: 20px; /* control the size */
1713+
--c1: #C7956D;
1714+
--c2: #5E4352;
1715+
1716+
--c:#0000 46.46%,var(--c1) 0 53.53%,#0000 0;
1717+
--d:calc(10*var(--s)) calc(10*var(--s));
1718+
--g:/var(--d) conic-gradient(at 40% 40%,#0000 75%,var(--c1) 0);
1719+
background:
1720+
conic-gradient(at 40% 40%,#0000 75%,var(--c2) 0)
1721+
calc(9*var(--s)) calc(9*var(--s))/
1722+
calc(5*var(--s)) calc(5*var(--s)),
1723+
calc(8*var(--s)) calc(8*var(--s)) var(--g),
1724+
calc(3*var(--s)) calc(3*var(--s)) var(--g),
1725+
linear-gradient( 45deg,var(--c)) 0 0/var(--d),
1726+
linear-gradient(-45deg,var(--c)) 0 0/var(--d) var(--c2);
1727+
}
17081728
</style><button>Copy the CSS</button>
17091729
</section>
17101730
<a target="_blank" href="https://github.com/Afif13/CSS-Pattern" class="credit">

0 commit comments

Comments
 (0)