I would like to create a hover effect for the Major
span element as illustrated in the image below. The desired outcome is for the span to transform into a story
span upon hovering, complete with a bordered outline and an edit icon. I am looking for some CSS implementation to achieve this effect.
Requesting Implementation
https://i.sstatic.net/mqQbh.png
My attempts so far:
span:hover {
border : 2px solid;
border-color : darkgrey;
cursor: pointer;
}
<span> Active</span>