I need help with rotating only the border 135 deg on hover, without affecting the icon. Below is the code I am using. Any assistance would be greatly appreciated. Thank you!
My html: `
<div class="container-fluid details-section">
<div class="row justify-content-center h-100">
<div class="col-xl-2 my-auto box text-center">
<i class="fa fa-guitar"></i>
</div>
<div class="col-xl-2 my-auto box text-center">
<i class="fa fa-guitar"></i>
</div>
<div class="col-xl-2 my-auto box text-center">
<i class="fa fa-guitar"></i>
</div>
</div>
</div>`
And CSS:
`.details-section{
background-color: rgb(83, 83, 83);
height: 200px;
}
.box i{
font-size: 70px;
border: 2px solid #c49b63;
color: black;
}
.box:hover i{
transform: rotate(135deg);
}
`