Building the base checkerboard

The foundation is a stack of repeating gradients. Each square is 50px wide and transparent, separated by 5px white gaps that shift from pink to blue.

<div></div>
div {
 background: 
  repeating-linear-gradient(
    to right, transparent, 
    transparent 50px, 
    white 50px, 
    white 55px
  ),
  repeating-linear-gradient(
    to bottom, transparent,  
    transparent 50px, 
    white 50px, 
    white 55px
  ),
  linear-gradient(45deg, pink, skyblue);
  /* more styles */
}

Because repeating-linear-gradient produces an image whose gradient repeats across the containing area, the first gradient draws the horizontal white stripes and the second draws the vertical ones. Layered, those two form the checkerboard, while the third fills the remaining space.

Overlaying an SVG glyph

Rounding the corners of the squares means placing a star glyph (✦) at every intersection of the pattern. The glyph rides along in the same background declaration, encoded as an SVG:

div {
  background: 
    repeat left -17px top -22px/55px 55px
    url("data:image/svg+xml,
    <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 35px 35px'>
      <foreignObject width='35px' height='35px'>
        <div xmlns='http://www.w3.org/1999/xhtml' style='color: white; font-size: 35px'>✦</div>
      </foreignObject>
    </svg>"
    ), 
    repeating-linear-gradient(
      to right, transparent,
      transparent 50px,
      white 50px,
      white 55px
    ),
    repeating-linear-gradient(
      to bottom, transparent,
      transparent 50px,
      white 50px,
      white 55px
    ),
    linear-gradient(45deg, pink, skyblue);
  /* more style */
}

The leading repeat keyword marks the layer as a repeating background image. What follows is the position and size of each repeating unit — left -17px top -22px/55px 55px — chosen relative to the glyph and pattern dimensions so the star lands exactly on each intersection. The glyph sits inside an HTML <div> with a declared font-size; that value is what controls the border radius of the squares, so a larger glyph produces rounder corners. Unrolled, the data URL contains the following SVG:

<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 35px 35px'>
  <foreignObject width='35px' height='35px'>
    <div xmlns='http://www.w3.org/1999/xhtml' style='color:white;font-size:35px'>✦</div>
  </foreignObject>
</svg>

Interactive states

With the pattern in place, a :hover rule can drop the glyph entirely and make the white lines slightly translucent by switching to rgb() values with an alpha channel:

div:hover {
  background:
    repeating-linear-gradient(
      to right, transparent,
      transparent 50px,
      rgb(255 255 255 / 0.5) 50px,
      rgb(255 255 255 / 0.5) 55px
    ),
    repeating-linear-gradient(
      to bottom, transparent,
      transparent 50px,
      rgb(255 255 255 / 0.5) 50px,
      rgb(255 255 255 / 0.5) 55px
    ),
  linear-gradient(45deg, pink, skyblue);
  box-shadow: 10px 10px 20px pink;
}

The result keeps the rounded corners while extending control over the pattern for further effects. The approach yields a checkerboard grid that supports rounded squares, a gradient overlay spanning the pattern, and interactive styling.