Skip to content

Commit 9409a25

Browse files
committed
2 more patterns
1 parent e045264 commit 9409a25

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

index.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1627,6 +1627,35 @@ <h1><span>C</span><span>S</span><span>S</span> Pattern</h1>
16271627
linear-gradient(90deg,var(--c)) 0/var(--s) var(--s)
16281628
#59A80F;
16291629
}
1630+
</style><button>Copy the CSS</button>
1631+
</section>
1632+
<section id="g95">
1633+
<style>#g95 {
1634+
--s: 100px; /* control the size */
1635+
1636+
--c: #99B2B7; /* back color */
1637+
background:
1638+
conic-gradient(at 80% 80%,var(--c) 75%,#0000 0),
1639+
linear-gradient(135deg,var(--c) calc(40%/3),
1640+
#0000 0 calc(200%/3),var(--c) 0),
1641+
conic-gradient(from 45deg at calc(160%/3) calc(80%/3),
1642+
#0008 135deg,#0000 0 225deg,#0004 0)
1643+
#EDC951; /* cube color */
1644+
background-size: var(--s) var(--s);
1645+
}
1646+
</style><button>Copy the CSS</button>
1647+
</section>
1648+
<section id="g96">
1649+
<style>#g96 {
1650+
--s: 90px;
1651+
1652+
--_s:0 0/var(--s) var(--s);
1653+
background:
1654+
radial-gradient(#0000 50%,#0002 54%,#DAD8A7 57%) var(--_s),
1655+
radial-gradient(circle at 40% 30%,#0000 4%,#000 90%) var(--_s),
1656+
repeating-conic-gradient(#FF3D7F 0 25%,#34DFD2 0 50%)
1657+
0 0/calc(2*var(--s)) calc(2*var(--s));
1658+
}
16301659
</style><button>Copy the CSS</button>
16311660
</section>
16321661
<a target="_blank" href="https://github.com/Afif13/CSS-Pattern" class="credit">

0 commit comments

Comments
 (0)