Skip to content

Commit 4b9c24f

Browse files
committed
another pattern
1 parent 166000e commit 4b9c24f

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

index.html

Lines changed: 15 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 134 CSS-only patterns made with CSS gradients and optimized with CSS variables.</p>
30+
<p>Explore 135 CSS-only patterns made with CSS gradients and optimized with CSS variables.</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>
@@ -2328,6 +2328,20 @@ <h2>the biggest collection of background Patterns</h2>
23282328
var(--g1),var(--g1) var(--s) var(--s) #CFF09E;
23292329
background-size: calc(2*var(--s)) calc(2*var(--s));
23302330
}
2331+
</style><button>Copy the CSS</button>
2332+
</section>
2333+
<section id="g135">
2334+
<style>#g135 {
2335+
--s: 80px; /* control the size */
2336+
2337+
--c:#6B5344 0;
2338+
--g:conic-gradient(at 50% 25%,#0000 75%,var(--c));
2339+
background:
2340+
repeating-linear-gradient(#0000 0 48%,var(--c) 50%),var(--g),
2341+
conic-gradient(#0000 75%,var(--c)) calc(var(--s)/4) calc(var(--s)/2),
2342+
var(--g) calc(var(--s)/2) var(--s) #F8ECC9;
2343+
background-size: var(--s) var(--s),var(--s) calc(2*var(--s));
2344+
}
23312345
</style><button>Copy the CSS</button>
23322346
</section>
23332347
<section>

0 commit comments

Comments
 (0)