You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
629 B
45 lines
629 B
4 years ago
|
* {
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
background-color: steelblue;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
height: 100vh;
|
||
|
overflow: hidden;
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
.empty {
|
||
|
height: 150px;
|
||
|
width: 150px;
|
||
|
margin: 10px;
|
||
|
border: solid 3px black;
|
||
|
background: white;
|
||
|
}
|
||
|
|
||
|
.fill {
|
||
|
background-image: url('https://source.unsplash.com/random/150x150');
|
||
|
height: 145px;
|
||
|
width: 145px;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.hold {
|
||
|
border: solid 5px #ccc;
|
||
|
}
|
||
|
|
||
|
.hovered {
|
||
|
background-color: #333;
|
||
|
border-color: white;
|
||
|
border-style: dashed;
|
||
|
}
|
||
|
|
||
|
@media (max-width: 800px) {
|
||
|
body {
|
||
|
flex-direction: column;
|
||
|
}
|
||
|
}
|