Search

Background pattern

Background pattern with css

It’s incredible what CSS can do these days and we have a fun pure-CSS background pattern demo for you. This example is a bit more advanced with CSS variables and multiple radial-gradients but they’re easy to master with a little practice.

If you experiment with this code, we recommend playing with the size and color variables first as those will quickly give you new varied patterns.

A source of patterns https://css-pattern.com/
And another one https://heropatterns.com/