Skip to content

Commit

Permalink
another pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
Afif13 committed Jan 7, 2024
1 parent e8fd6c3 commit 53cb420
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<h1><span>C</span><span>S</span><span>S</span> Pattern</h1>
<p>powered by CSS gradients</p>
<h2>the biggest collection of background Patterns</h2>
<p>Explore 136 CSS-only patterns made with CSS gradients and optimized with CSS variables.</p>
<p>Explore 137 CSS-only patterns made with CSS gradients and optimized with CSS variables.</p>
</header>
<script async src="https://media.ethicalads.io/media/client/ethicalads.min.js"></script>
<div class="adaptive" data-ea-publisher="css-challengescom" id="css-pattern" data-ea-type="text" data-ea-style="fixedfooter"></div>
Expand Down Expand Up @@ -2359,6 +2359,20 @@ <h2>the biggest collection of background Patterns</h2>
var(--c1) 0);
background-size: var(--s) var(--s);
}
</style><button>Copy the CSS</button>
</section>
<section id="g137">
<style>#g137 {
--s: 90px; /* control the size */
--c:#DDD9AB;

--g:#0000 calc(125%/3),var(--c) 0 calc(175%/3),#0000 0;
--p:calc(var(--s)/2) calc(var(--s)/2)/calc(2*var(--s)) calc(2*var(--s));
background:
radial-gradient(var(--c) 34%,#0000 36%) 0 0/var(--s) var(--s),
linear-gradient( 45deg,var(--g)) var(--p),
linear-gradient(-45deg,var(--g)) var(--p) #E5625C;
}
</style><button>Copy the CSS</button>
</section>
<section>
Expand Down

0 comments on commit 53cb420

Please sign in to comment.