Butnowwhat I wannadoishideitandthenhaveitslideinwhen I hover.
Solet's makethathappen.
Sonow I'm gonnasay, slide, hover, andthen I wanttosayslidedashcontent.
Sonow I'm gonnadoistheytransformtranslateAndthetranslatevalueallowsustopositionwherewewanttoseethisanimationSozeroandzeroNowwhatthatmeansisuponhover I wantedtogotozeroandzerothat's X and Y Buthere, let's saydirectionsnow I don't wanttodoissayslidedashtopandthenslidedashcontentsfromspecificallystylingtheslidetopelementhereand I'm goingtosaytransform, translate.
Sothisismydefault.
Thisisnotonhover.
I'm specificallytargetingeach, uheachelement.
Now I wanttotranslatezeroandnegative 100% savethatthat's gonnamoveitup 100% ofitssize, itsheight.
Let's gobacktotranslateandseeifthatactuallymakes a difference, and I'm gonnauncommonthesremovethis.
ThisisactuallytransformKate.
Nowlet's checkitout.
AmazingdifferenceProofisinthepuddingrighthere, soyoucannowseehowthatisliterallyslidingdownlikeliquid, evenifit's ifit's a slowanimation.
Maybeyou'reanimating a sceneofelementslike a backgroundsceneofcloudsand a mountainandMariorunningacrossthescreenorsomethingyouwouldusetransformandtranslate, becausethat's goingtoslowlysmooth.