~starkingdoms/starkingdoms

ref: 81b203423a8d97d866f3f67fc7248f0f756bca1b starkingdoms/starkingdoms-client/src/css/grid.css -rw-r--r-- 391 bytes
81b20342 — core Merge remote-tracking branch 'origin/bevy_rewrite' into bevy_rewrite 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@keyframes bg-anim {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 12px 12px;
  }
  100% {
    background-position: 24px 24px;
  }
}

.bg-grid {
  background-image: linear-gradient(to right, #80808012 1px, transparent 1px),
    linear-gradient(to bottom, #80808012 1px, transparent 1px);
  background-size: 24px 24px;
  animation: bg-anim 1.5s linear infinite;
}