Jump to content

H1 GIF animation

Recommended Posts

Guest John2141

I got this code for animating my header. But, for some reason it works with H2-3, but not my H1. The code is below. I think there is something going on with the custom css on my site. Can someone take a look?

 

// GIF Text //

h1 {
  background: url(GIF-URL-HERE.gif);
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  color: transparent;
  }
Link to comment
  • Replies 1
  • Views 452
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.