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 {
|
.card-back:after {
|
||||||
color: #11181f;
|
color: #11181f;
|
||||||
}
|
}
|
||||||
.card:hover .card-front {
|
|
||||||
transform: rotateX(-180deg);
|
@media(hover: hover) and (pointer: fine) {
|
||||||
}
|
.card:hover .card-front {
|
||||||
.card:hover .card-back {
|
transform: rotateX(-180deg);
|
||||||
transform: rotateX(0deg);
|
}
|
||||||
|
.card:hover .card-back {
|
||||||
|
transform: rotateX(0deg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.card .line-numbers {
|
.card .line-numbers {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
Loading…
Reference in New Issue
Block a user