8 lines
135 B
JavaScript
8 lines
135 B
JavaScript
|
|
function cardPressed() {
|
|
this.classList.add('card-hover');
|
|
}
|
|
|
|
function cardReleased() {
|
|
this.classList.remove('card-hover');
|
|
} |