Jump to content

How to add slide up text hover effect with code?

Go to solution Solved by tuanphan,

Recommended Posts

5 hours ago, Miicherey said:

Hi, is it possible to hide a portion of the text block and add a slide up animation effect on hover? Similar to the old website here at the bottom section with the services: Cinematography, Photography, Audio Services in Fort Morgan (heroicmediastudio.com)

image.thumb.png.f4601a78a6c6ef739e684667e1880cd0.png

The hover effect needs to be added to their new website on Squarespace: https://heroic-media.squarespace.com/

What is your site-wide password?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
  • Solution

You can use this code to Website > Website Tools > Custom CSS

.fe-66570f40b63771677068fbc7 .html-block {
    transform: translateY(70%);
    transition: all 0.3s ease;
}
.fe-66570f40b63771677068fbc7 .fe-block:has(.html-block) {
    overflow: hidden;
}
.fe-66570f40b63771677068fbc7 .fe-block:has(.html-block):hover .html-block {
    transform: translatey(0);
    transition: all 0.3s ease;
}

image.thumb.png.4239113eb85030b8e15abe1311b7779e.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.