Skip to content

Commit 8647cb0

Browse files
committed
Two simple triangle-based patterns
1 parent bf85517 commit 8647cb0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,14 @@ <h1>CSS3 Patterns Gallery</h1>
338338
<li style="background-color: gray;
339339
background-image: linear-gradient(transparent 50%, rgba(255,255,255,.5) 50%);
340340
background-size: 50px 50px;" title="Horizontal stripes"></li>
341-
341+
342+
<li style="background-color: #1a1d33;
343+
background-image: linear-gradient(45deg, transparent 50%, rgba(0,0,0,0.1) 50%);
344+
background-size: 50px 50px;" title="Triangles" data-author="Paul Egan" data-author-url="http://paulegan.org/"></li>
345+
346+
<li style="background-image: linear-gradient(45deg, transparent 50%, rgba(0,0,0,0.1) 50%), linear-gradient(to bottom right, #1ad162, #68d162, #dfc056, #e55727, #d2100b);
347+
background-size: 50px 50px, auto auto;" title="Triangle Gradient" data-author="Paul Egan" data-author-url="http://paulegan.org/"></li>
348+
342349
</ul>
343350

344351
<h2 id="browser-support">Browser support</h2>

0 commit comments

Comments
 (0)