Skip to content

Commit a9e0a29

Browse files
committed
Added new upholstery pattern
Uses a series of radial gradients to make a pattern that looks like luxurious red upholstery.
1 parent e846de4 commit a9e0a29

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

index.html

+14-1
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,19 @@ <h1>CSS3 Patterns Gallery</h1>
278278
<li style="background-color: gray;
279279
background-image: linear-gradient(transparent 50%, rgba(255,255,255,.5) 50%);
280280
background-size: 50px;" title="Horizontal stripes"></li>
281+
282+
<li style="background-color: hsl(0, 100%, 10%); background-image:
283+
radial-gradient(hsl(0, 100%, 27%) 4%, hsl(0, 100%, 18%) 9%, hsla(0, 100%, 20%, 0) 9%),
284+
radial-gradient(hsl(0, 100%, 27%) 4%, hsl(0, 100%, 18%) 8%, hsla(0, 100%, 20%, 0) 10%),
285+
radial-gradient(hsla(0, 100%, 30%, 0.8) 20%, hsla(0, 100%, 20%, 0)),
286+
radial-gradient(hsla(0, 100%, 30%, 0.8) 20%, hsla(0, 100%, 20%, 0)),
287+
radial-gradient(hsla(0, 100%, 20%, 1) 35%, hsla(0, 100%, 20%, 0) 60%),
288+
radial-gradient(hsla(0, 100%, 20%, 1) 35%, hsla(0, 100%, 20%, 0) 60%),
289+
radial-gradient(hsla(0, 100%, 15%, 0.7), hsla(0, 100%, 20%, 0)),
290+
radial-gradient(hsla(0, 100%, 15%, 0.7), hsla(0, 100%, 20%, 0)),
291+
linear-gradient(45deg, hsla(0, 100%, 20%, 0) 49%, hsla(0, 100%, 0%, 1) 50%, hsla(0, 100%, 20%, 0) 70%),
292+
linear-gradient(-45deg, hsla(0, 100%, 20%, 0) 49%, hsla(0, 100%, 0%, 1) 50%, hsla(0, 100%, 20%, 0) 70%);
293+
background-position: 0 0, 50px 50px, 50px 0, 0 50px, 50px 0, 100px 50px, 0 0, 50px 50px, 0 0, 0 0; background-size: 100px 100px;" title="Upholstery" data-author="Nate Eagle" data-author-url="http://nateeagle.com/"></li>
281294

282295
</ul>
283296

@@ -314,4 +327,4 @@ <h2 id="new-submissions">Submission guidelines</h2>
314327
</script>
315328
<script src="http://cdn.topsy.com/topsy.js?init=topsyWidgetCreator"></script>
316329
</body>
317-
</html>
330+
</html>

0 commit comments

Comments
 (0)