Stripes
Stripes CSS pattern
Wide stripes at any angle you like.
Customize in the editorChange colors, size and opacity, then export as CSS, SVG or PNG.
Code
Paste the lines into your element's rule. The pattern repeats by itself and adapts to any size.
CSS
background-color: #0f172a;
background-image: repeating-linear-gradient(45deg, #38bdf8 0px 7.5px, transparent 8.5px 23.5px, #38bdf8 24.5px 32px);
background-size: 100% 100%;
background-position: 0 0;Tailwind
bg-[#0f172a] [background-image:repeating-linear-gradient(45deg,_#38bdf8_0px_7.5px,_transparent_8.5px_23.5px,_#38bdf8_24.5px_32px)] [background-size:100%_100%] [background-position:0_0]How to use this pattern
Copy the CSS into the rule of the element that should carry the pattern, for example a section, a card or the body. The colors are hex values in the code and can be swapped directly. In the editor you change everything with sliders and can also export the pattern as SVG or PNG.