     align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      width: 25rem;
    }
    .square {
      position: relative;
      width: 4.75rem;
      height: 4.75rem;
      margin: .125rem;
      background-color: currentColor;
    }
  </style>
</head>
<body>
  <div id="test-wrapper">
    <div class="hover loop square red"></div>
    <div class="hover loop square red"></div>
    <div class="hover loop square red"></div>
    <div class="hover loop square red"></div>
    <div class="ho