~starkingdoms/starkingdoms

ref: ccb7ac1036a620f213bb5d24a3332091074e3667 starkingdoms/starkingdoms-client/src/css/grid.scss -rw-r--r-- 391 bytes
ccb7ac10 — ghostlyzsh Merge branch 'bevy_rewrite' of https://gitlab.com/starkingdoms.tk/starkingdoms.tk 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;
}