Skip to content

Commit 7d0afd6

Browse files
committed
another pattern
1 parent 4b9c24f commit 7d0afd6

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

index.html

Lines changed: 18 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 135 CSS-only patterns made with CSS gradients and optimized with CSS variables.</p>
30+
<p>Explore 136 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>
@@ -2342,6 +2342,23 @@ <h2>the biggest collection of background Patterns</h2>
23422342
var(--g) calc(var(--s)/2) var(--s) #F8ECC9;
23432343
background-size: var(--s) var(--s),var(--s) calc(2*var(--s));
23442344
}
2345+
</style><button>Copy the CSS</button>
2346+
</section>
2347+
<section id="g136">
2348+
<style>#g136 {
2349+
--s: 100px; /* control the size */
2350+
--c1:#5B7C8D;
2351+
--c2:#EDF6EE;
2352+
2353+
background:
2354+
conic-gradient(var(--c1) 25%,#0000 0 50%,var(--c2) 0 75%,#0000 0),
2355+
linear-gradient(135deg,
2356+
var(--c1) 0 12.5%,var(--c2) 0 25%,
2357+
var(--c1) 0 37.5%,var(--c2) 0 62.5%,
2358+
var(--c1) 0 75% ,var(--c2) 0 87.5%,
2359+
var(--c1) 0);
2360+
background-size: var(--s) var(--s);
2361+
}
23452362
</style><button>Copy the CSS</button>
23462363
</section>
23472364
<section>

0 commit comments

Comments
 (0)