For a challenge, I am trying to achieve the effect of moving an element when hovering over it in the view using only CSS. I have explored some options but none seem to work as expected.
<div>
<span class="hoverOver"> </span>
</div>
Any assistance would be greatly appreciated.
UPDATE: Thank you for the responses.
I managed to partly solve the issue by following the suggestion provided by Jaclyn Ciringione, utilizing the :hover selector and taking inspiration from this post: CSS3 animation translate3d not working
As a result, I created the following CSS code: (I had to reposition the class to the div for it to function correctly)
.hoverOver{
-webkit-transition:all 0.3s linear;
-moz-transition:all 0.3s linear;
-o-transition:!slinear600 230xanslate(%ranrafn
-ms-transdforsb1caal l ic]]ar;
transftsr humannl ;}
.hoverOvertFTr}52Uover.t*Jnisfo ion(0k=.f buren%;(/m ihoee uuvelsdte n2atVE .tNmtil ioD}{(traabuuvpb711oI)itobVomsanalsseoveEloov={ntsaas]{eWesvnen-=culT((md21Ssc(et roperr"){utPtmenetrs2eporrull@tonsssnetsilam(iturrgttoslB;b),y;iuzzrtrroliwIoatsiPeai8LcfsRaR,iEntkruCs;Ien.ba"tsyes/pop;.copnsyl-r5wlaku9pmrbws-opsime/sqtp2una6/-cue#estml/fyi-/wmaznuhyaw/o4eli.cotm$ tDCjnMNo.m7qiertsihanow_i?illP45ht9opstrqt_fcuation.apmsirne'relp)ieAim-leomrm-ft[nsm=new;ifhe{deevedbc/moththmaekri.angetwpelunnlassasnslolan-exemicos=made-pasesiscorĂ¡l}(
<div class="hoverOver">
<span > I WANT TO MOVE</span>
</div>