[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 128
  • Last Modified:

jQuery Animate Left Right

Hi Experts,

I am trying to animate the cloudDrizzle just to go side to side with jquery lines 35-40 , but nothing happening.

http://codepen.io/AleksPoposki/pen/NRZydj

Any help will be appreciated.
0
APD Toronto
Asked:
APD Toronto
1 Solution
 
RobOwner (Aidellio)Commented:
As the svg is "float: left" it has no positioning and therefore the animate left and right do not work.  Set its position to relative or wrap it in a div and float the div

<div style="float: left">
<svg id="cloudDrizzle>...
</div>
0
 
APD TorontoAuthor Commented:
Thank you again!
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now