I am trying to make the area with the 'FORWARDS' text change to a solid red background when it is hovered over, and also then change the 'FULL' area to a border. Is this possible?
#fullTeam {
background: #c41234;
height: 50px;
width: 200px;
border-radius: 10px 0 0 10px;
position: relative;
top: 180px;
left: 420px;
}
#forwards {
border: 3px solid #c41234;
height: 44px;
width: 200px;
position: relative;
top: 130px;
left: 620px;
}
#backs {
border: 3px solid #c41234;
height: 44px;
width: 200px;
border-radius: 0 10px 10px 0;
position: relative;
top: 80px;
left: 823px;
}
#fullTeam h1 {
font-family: "Open Sans", sans-serif;
color: #ffffff;
font-size: 20px;
font-weight: 400;
position: relative;
top: 10px;
left: 80px;
}
#forwards h1 {
font-family: "Open Sans", sans-serif;
color: #ffffff;
font-size: 20px;
font-weight: 400;
position: relative;
bottom: 5px;
left: 50px;
}
#backs h1 {
font-family: "Open Sans", sans-serif;
color: #ffffff;
font-size: 20px;
font-weight: 400;
position: relative;
bottom: 5px;
left: 70px;
}
#fullTeam:hover {
background: #151515;
}
#forwards:hover {
background: #c41234;
}
#backs:hover {
background: #c41234;
}
<div id="fullTeam">
<h1> FULL </h1>
</div>
<div id="forwards">
<h1> FORWARDS </h1>
</div>
<div id="backs">
<h1> BACKS </h1>
</div>
elements labels, instead, and associate them with a radio button. See https://jsfiddle.net/cgpue74y/
– TylerH Mar 18 '17 at 01:32