Skip to content

Commit 6ce4d9b

Browse files
committed
another pattern
1 parent 6d272ca commit 6ce4d9b

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

index.html

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<h1><span>C</span><span>S</span><span>S</span> Pattern</h1>
2828
<p>powered by CSS gradients</p>
2929
<h2>the biggest collection of background Patterns</h2>
30-
<p>Explore 138 CSS-only patterns made with CSS gradients and optimized with CSS variables.<br> I also have <a href="https://animated.css-pattern.com/" target="_blank">a collection of animated CSS Patterns</a></p>
30+
<p>Explore 139 CSS-only patterns made with CSS gradients and optimized with CSS variables.<br> I also have <a href="https://animated.css-pattern.com/" target="_blank">a collection of animated CSS Patterns</a></p>
3131
</header>
3232
<script async src="https://media.ethicalads.io/media/client/ethicalads.min.js"></script>
3333
<div class="adaptive" data-ea-publisher="css-challengescom" id="css-pattern" data-ea-type="text" data-ea-style="fixedfooter"></div>
@@ -2377,6 +2377,21 @@ <h2>the biggest collection of background Patterns</h2>
23772377
</section>
23782378
<section id="g138">
23792379
<style>#g138 {
2380+
--s: 46px; /* control the size */
2381+
2382+
--c:#9D2053 99%,#0000 101%;
2383+
background:
2384+
radial-gradient(var(--s) at 100% 100%,var(--c)),
2385+
radial-gradient(var(--s) at 100% 0 ,var(--c)) calc(3*var(--s)/2) 0,
2386+
radial-gradient(var(--s) at 0 100%,var(--c)) calc( var(--s)/2) 0,
2387+
radial-gradient(var(--s) at 0 0 ,var(--c)) calc(2*var(--s)) 0
2388+
#B5D8EB;
2389+
background-size: calc(3*var(--s)) calc(5*var(--s)/2);
2390+
}
2391+
</style><button>Copy the CSS</button>
2392+
</section>
2393+
<section id="g139">
2394+
<style>#g139 {
23802395
--s: 90px; /* control the size */
23812396
--c:#C2CBCE;
23822397

0 commit comments

Comments
 (0)