Add close button

This commit is contained in:
Gregoire Parant 2020-11-17 18:03:44 +01:00
parent eed292b707
commit 0a7063a478
5 changed files with 62 additions and 3 deletions

View file

@ -274,6 +274,23 @@ body {
#cowebsite.hidden {
transform: translateX(100%);
}
#cowebsite .close-btn{
position: absolute;
top: 10px;
right: -100px;
background: none;
border: none;
cursor: pointer;
animation: right .2s ease;
}
#cowebsite .close-btn img{
height: 15px;
right: 15px;
}
#cowebsite:hover .close-btn{
right: 10px;
}
}
@media (max-aspect-ratio: 1/1) {
.game-overlay {