Geometric
Chevron CSS pattern
Zigzag bands in two colors plus the background, with a seventies feel.
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: #fef3c7;
background-image: linear-gradient(315deg, #0f766e 0% 24.26%, transparent 25.74% 100%), linear-gradient(45deg, #0f766e 0% 24.26%, transparent 25.74% 100%), linear-gradient(135deg, #0f766e 0% 24.26%, transparent 25.74% 100%), linear-gradient(225deg, #0f766e 0% 24.26%, transparent 25.74% 100%), linear-gradient(315deg, #b45309 0% 24.26%, transparent 25.74% 100%), linear-gradient(45deg, #b45309 0% 24.26%, transparent 25.74% 100%), linear-gradient(135deg, #b45309 0% 24.26%, transparent 25.74% 100%), linear-gradient(225deg, #b45309 0% 24.26%, transparent 25.74% 100%);
background-size: 48px 48px, 48px 48px, 48px 48px, 48px 48px, 48px 48px, 48px 48px, 48px 48px, 48px 48px;
background-position: 24px 36px, 24px 36px, 0px 36px, 0px 36px, 24px 24px, 24px 24px, 0px 24px, 0px 24px;Tailwind
bg-[#fef3c7] [background-image:linear-gradient(315deg,_#0f766e_0%_24.26%,_transparent_25.74%_100%),_linear-gradient(45deg,_#0f766e_0%_24.26%,_transparent_25.74%_100%),_linear-gradient(135deg,_#0f766e_0%_24.26%,_transparent_25.74%_100%),_linear-gradient(225deg,_#0f766e_0%_24.26%,_transparent_25.74%_100%),_linear-gradient(315deg,_#b45309_0%_24.26%,_transparent_25.74%_100%),_linear-gradient(45deg,_#b45309_0%_24.26%,_transparent_25.74%_100%),_linear-gradient(135deg,_#b45309_0%_24.26%,_transparent_25.74%_100%),_linear-gradient(225deg,_#b45309_0%_24.26%,_transparent_25.74%_100%)] [background-size:48px_48px,_48px_48px,_48px_48px,_48px_48px,_48px_48px,_48px_48px,_48px_48px,_48px_48px] [background-position:24px_36px,_24px_36px,_0px_36px,_0px_36px,_24px_24px,_24px_24px,_0px_24px,_0px_24px]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.