1 50 1000
.diagonal-stripes {
background-color: #000000;
background-image:
linear-gradient(90deg, transparent 50%, #ffffff 50%);
background-size: 50px 50px;
}
Every Gradient Pattern
About this Tool
In case you are wondering how this works in the background, it utilizes a combination of CSS gradients and background properties to create visually appealing patterns. Here you'll find the json for the raw pattern data including the available variables: https://tools.maximmaeder.com/t/css-gradient-pattern-generator/patterns.json.
This free tool is part of a growing collection of lightweight web utilities crafted by Maxim Mäder to solve everyday computer tasks.