CSS Absolute center something
Because I always mix up the positive and negative and transform with translate…
The proper syntax
@mixin absCenter { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%)}
Because I always mix up the positive and negative and transform with translate…
The proper syntax
@mixin absCenter { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%)}
Front End Engineer https://kevinyckim.netlify.com/