HTMLify
style.css
Views: 4 | Author: cody
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Poppins", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
background-color: #141414;
color: #fff;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.container {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
max-width: 400px;
}
.square {
background-color: #1d1d1d;
box-shadow: 0 0 2px #000;
height: 16px;
width: 16px;
margin: 2px;
transition: 2s ease-out;
}
.square:hover {
transition-duration: 0s;
}