more popup styling and work

This commit is contained in:
Sriram Hariharan
2018-07-11 04:26:31 -05:00
parent 0a7a38b81d
commit 425f89372c
7 changed files with 149 additions and 18 deletions

View File

@@ -55,6 +55,19 @@
transform: scale(1, 1) translate(-50%);
transform-origin: 50% 50%;
}
.card:after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 5px;
height: 5px;
background: rgba(255, 255, 255, .5);
opacity: 0;
border-radius: 100%;
transform: scale(1, 1) translate(-50%);
transform-origin: 50% 50%;
}
@keyframes ripple {
0% {
@@ -73,4 +86,7 @@
.matbut:focus:not(:active)::after {
animation: ripple 1s ease-out;
}
.card:focus:not(:active)::after {
animation: ripple 1s ease-out;
}