<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: yogyogi</title>
    <description>The latest articles on DEV Community by yogyogi (@yogyogi).</description>
    <link>https://dev.to/yogyogi</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F195649%2F1f6b22b6-5c22-422d-bf55-9c2353c5791a.jpeg</url>
      <title>DEV Community: yogyogi</title>
      <link>https://dev.to/yogyogi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yogyogi"/>
    <language>en</language>
    <item>
      <title>Learn jQuery Animate method on Youtube</title>
      <dc:creator>yogyogi</dc:creator>
      <pubDate>Mon, 15 Jul 2019 14:01:22 +0000</pubDate>
      <link>https://dev.to/yogyogi/learn-jquery-animate-method-on-youtube-4dog</link>
      <guid>https://dev.to/yogyogi/learn-jquery-animate-method-on-youtube-4dog</guid>
      <description>&lt;p&gt;The &lt;a href="https://www.yogihosting.com/jquery-animate/" rel="noopener noreferrer"&gt;jQuery Animate&lt;/a&gt; method, as all of us know, is used to make great animation effect on web pages quite easily. It is also very easy to learn, hardly takes 15 minutes of your time. &lt;/p&gt;

&lt;h2&gt;
  
  
  Syntax
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;$(selector).animate({params},speed,callback)&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Example
&lt;/h2&gt;

&lt;p&gt;Let us see a simple example where I will be animating a square from left to right.&lt;/p&gt;

&lt;p&gt;The code for this is:&lt;br&gt;
&lt;code&gt;&lt;br&gt;
$("#div1").animate({ left: '250px' });&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
Here 'div1' is the square, to whom you can provide any size or color using your normal CSS.&lt;/p&gt;

&lt;p&gt;And when you run your web page, It will look like this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.yogihosting.com%2Fwp-content%2Fuploads%2F2017%2F11%2Fmoving-element-left-right-with-animate.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.yogihosting.com%2Fwp-content%2Fuploads%2F2017%2F11%2Fmoving-element-left-right-with-animate.gif" title="jQuery animations" alt="alt text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Isn't this method great?&lt;br&gt;
Let me know your thoughts.&lt;/p&gt;

</description>
      <category>javascript</category>
    </item>
  </channel>
</rss>
