简体   繁体   中英

Mobile Responsiveness with Google Web Designer

So I used Google Web Designer for my site (*) and while I was able to make the entire site responsive, the animation in my header works great only on my desktop (which is where I designed the animation) - unfortunately GWD does not allow for any type of responsive building into animations. So my question is:

  1. Does anyone know JS quiet well and can help point me in the right direction to getting this animation to scale down when the width of the page decreases?

OR

  1. Know of any other solutions whereby I can apply a {display:none} to the desktop animation and plug-in a good counterpart for mobile?

Thank you for your time,

Byron

Okay, so in the interest of time, the solution I have settled on is to create 4 more animations, each with their own stage dimensions. I will be calling them to display:inline or display: none through the CSS depending on the users browser width (ie the standard @media screen css).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM