Skip to content

Commit e045264

Browse files
committed
2 mor patterns
1 parent e72740e commit e045264

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

index.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1596,6 +1596,37 @@ <h1><span>C</span><span>S</span><span>S</span> Pattern</h1>
15961596
conic-gradient(at 0% 100%,var(--c));
15971597
background-size: var(--s) var(--s);
15981598
}
1599+
</style><button>Copy the CSS</button>
1600+
</section>
1601+
<section id="g93">
1602+
<style>#g93 {
1603+
--s: 76px; /* control the size */
1604+
--c1: #ff9f6a;
1605+
--c2: #1f5e79;
1606+
1607+
background:
1608+
conic-gradient(from 30deg at 80%,
1609+
var(--c1) 60deg,var(--c2) 0 120deg,#0000 0),
1610+
conic-gradient(from -30deg,
1611+
var(--c2) 120deg,var(--c1) 0 240deg,
1612+
var(--c2) 0 300deg,var(--c1) 0);
1613+
background-size: calc(3*var(--s)/2) var(--s)
1614+
}
1615+
</style><button>Copy the CSS</button>
1616+
</section>
1617+
<section id="g94">
1618+
<style>#g94 {
1619+
--s: 80px; /* control the size */
1620+
1621+
--c:#0000 75%,#E9E0D1 0;
1622+
--g:/calc(2*var(--s)) var(--s)
1623+
conic-gradient(at 62.5% 25%,var(--c));
1624+
background:
1625+
calc( var(--s)/4) calc(var(--s)/ 4) var(--g),
1626+
calc(5*var(--s)/4) calc(var(--s)/-4) var(--g),
1627+
linear-gradient(90deg,var(--c)) 0/var(--s) var(--s)
1628+
#59A80F;
1629+
}
15991630
</style><button>Copy the CSS</button>
16001631
</section>
16011632
<a target="_blank" href="https://github.com/Afif13/CSS-Pattern" class="credit">

0 commit comments

Comments
 (0)