summaryrefslogtreecommitdiff
path: root/scss/index.scss
blob: 338920d286e2d43167864433cf82bee49e369a7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@mixin abs {position: absolute; top: 0; left: 0;}
@mixin rel {position: relative; top: 0; left: 0;}

body { margin: 0; background-color: grey; }
#spawn { @include rel; width: 0; height: 0;}

img {@include abs;}
.pixelated { image-rendering: pixelated; }


#screen {
  display: block;
  overflow: hidden;
  background-size: cover;
  @include abs;
}