Dots
Targets CSS pattern
Concentric rings in two colors, like tiny targets.
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: radial-gradient(circle 20.5px at 24px 24px, #b45309 0px 4px, transparent 5px 8.5px, #0f766e 9.5px 12.5px, transparent 13.5px 16.5px, #b45309 17.5px 19.5px, transparent 20.5px);
background-size: 48px 48px;
background-position: 0 0;Tailwind
bg-[#fef3c7] [background-image:radial-gradient(circle_20.5px_at_24px_24px,_#b45309_0px_4px,_transparent_5px_8.5px,_#0f766e_9.5px_12.5px,_transparent_13.5px_16.5px,_#b45309_17.5px_19.5px,_transparent_20.5px)] [background-size:48px_48px] [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.