Jump to content

Background animation scale for mobile

Recommended Posts

Hey guys,

Im trying to scale a background animation for my website, but cant seem to get it right fro mobile. I want it to take up the whole screen like the desktop version. 
im using this code. 

Quote

/* mobile animation for mobile*/
@media screen and (max-width:991px) {
section[data-section-id="65c6dd049ae3b0452184eec0"] {
    min-height: unset !important;
    height: 60vh;
    margin-top: 12vh;
}
}

 

but i cant seem to get it to work, any advice? 

 

Cheers, 

Link to comment
  • Replies 1
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.