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