Geometric
Squares CSS pattern
Small squares with space around them, calm and orderly.
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: #ecfdf5;
background-image: conic-gradient(from 270deg at 16px 16px, #047857 0deg 90deg, transparent 90deg 360deg);
background-size: 32px 32px;
background-position: 8px 8px;Tailwind
bg-[#ecfdf5] [background-image:conic-gradient(from_270deg_at_16px_16px,_#047857_0deg_90deg,_transparent_90deg_360deg)] [background-size:32px_32px] [background-position:8px_8px]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.