Multiple instances of a square gradient

How are square gradients repeated?

In the code provided, I made a square gradient 8 different ways.

  1. To be able to repeat a square gradient, which of those codes would I be using?

  2. And how would it be done?

Can someone provide a way on how to do this?

https://jsfiddle.net/7s468kwg/

This is 1 square, how would I have this square repeat itself more than one time?

That is what I am trying to do.

Repeat like this:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.