Jump to content

How do I make this CSS effect work in Squarespace?

Go to solution Solved by CassAggett,

Recommended Posts

Hi folks!

I have a sentence in a text block on my site where I'd like the last word in it to "rotate" through different words. I found a CSS example on the web: https://jsfiddle.net/n5dLdgor/1/ that illustrates exactly what I want to do (although my word will always be at the end of the sentence). Even the style of the transition is what I want. But given that text is in blocks with IDs on Squarespace, I'm wondering how to alter this code to get it to work in Squarespace CSS/Code Injection (especially because it needs to identify and change only the last word in the sentence in the text block). Thanks in advance for your help!

Edited by Javdesign
added more tags
Link to comment
  • Solution

If this helped you, please like or mark my solution as answer so others can scroll to it quickly 👆

Cass Aggett is a Squarespace website designer for go-getting women – no matter what stage of business.



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.