Added Mobile Hover to card
This commit is contained in:
parent
69cfbf1b44
commit
bd183bf832
13
style.css
13
style.css
@ -83,11 +83,14 @@
|
||||
.card-back:after {
|
||||
color: #11181f;
|
||||
}
|
||||
.card:hover .card-front {
|
||||
transform: rotateX(-180deg);
|
||||
}
|
||||
.card:hover .card-back {
|
||||
transform: rotateX(0deg);
|
||||
|
||||
@media(hover: hover) and (pointer: fine) {
|
||||
.card:hover .card-front {
|
||||
transform: rotateX(-180deg);
|
||||
}
|
||||
.card:hover .card-back {
|
||||
transform: rotateX(0deg);
|
||||
}
|
||||
}
|
||||
.card .line-numbers {
|
||||
position: absolute;
|
||||
|
Loading…
Reference in New Issue
Block a user