HTML:
<div class="row">
<div class="col-md-4">
<a href="#" class="qualificationbox">
<h2 class="title">Junior</h2>
<img src="images\getquote\junior.png" >
<p class="info">dsadasdsff fsd fsd fds fds f sef sdf s </p>
</a>
</div>
<div class="col-md-4">
<a href="#" class="qualificationbox">
<h2 class="title">Medium</h2>
<img src="images\getquote\medium.png" >
<p class="info">dsadasdsff fsd fsd fds fds f sef sdf s </p>
</a>
</div>
<div class="col-md-4">
<a href="#" class="qualificationbox">
<h2 class="title">Senior</h2>
<img src="images\getquote\senior.png" >
<p class="info">dsadasdsff fsd fsd fds fds f sef sdf s </p>
</a>
</div>
</div>
css:
I have these classes that define the values that will initially have:
.qualificationbox {
position: relative;
display: block;
padding: 1.5em .5em;
margin-bottom: 1.5em;
border-radius: .5em;
background: #fafbfc;
text-align: center;
height: 100%;
color: #ff0000;}
.qualificationbox .info {
color: inherit;}
.qualificationbox .title {
text-transform: uppercase;
margin: 0;
color: inherit;}
Clicking, or hovering over, wanted to replace the qualificationbox with qualificationboxselect:
.qualificationboxselect {
position: relative;
display: block;
padding: 1.5em .5em;
margin-bottom: 1.5em;
border-radius: .5em;
background: #ff0000;
text-align: center;
height: 100%;
color: #fff;}
.qualificationboxselect .title {
text-transform: uppercase;
margin: 0;
color: inherit;}
.qualificationboxselect .info {
color: inherit;}
But there can only be one selected (qualificationboxselect), that is if I have the "junior" selected and select the "medium", I wanted to remove the "junior". Is it possible for someone to help me, I'm not really able to Thank you.