Repeating Gradient

Repeating gradients create repeating color patterns.

Preview

Code

<style>
.box{
width:180px;
height:100px;
background:repeating-linear-gradient(
45deg,
#2563eb,
#2563eb 10px,
#22c55e 10px,
#22c55e 20px
);
}
</style>

<div class="box"></div>

More CSS Gradients Examples (8)