Good afternoon, I'm developing 1 game in Meteor, and for example when I click to choose the character wanted the background turns green, and if you choose another character the background would return to normal and the new selected character would to green.
.archer{background:transparent;background-image:url("https://vignette.wikia.nocookie.net/draconisimmortalistalos/images/9/98/A_Drolops_Archer.png/revision/latest?cb=20120528064825");
background-size:cover;
border: none;
width: 200px;
height: 300px;
}
.warrior{
background: transparent;
background-image: url("https://vignette.wikia.nocookie.net/eligium-brasil/images/1/10/Eligium-guerreiro.png/revision/latest?cb=20121102160221&path-prefix=pt-br");
background-size:cover;
border: none;
width: 200px;
height: 300px;
}
.mage{
background: transparent;
background-image: url("https://i.pinimg.com/originals/ab/6e/d0/ab6ed09d2e09c229c3bc6027a1c19470.jpg");
background-size:cover;
border: none;
width: 200px;
height: 300px;
}
.archer:active{
background-color: #3e8e41;
}
.warrior:active{
background-color: #3e8e41;
}
.mage:active{
background-color: #3e8e41;
}