Skip to content

Instantly share code, notes, and snippets.

@Lauviah0622
Created September 26, 2020 15:14
html {
display: table;
height: 100%;
width: 100%;
}
body {
display: table-cell;
vertical-align: middle;
div {
margin: auto;
width: 100px;
height: 100px;
outline: inset 100px green;
outline-offset: -125px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment