<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>html Archives - SkilloTour</title>
	<atom:link href="https://skillotour.in/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>https://skillotour.in/tag/html/</link>
	<description>Website to upgrade your skills</description>
	<lastBuildDate>Mon, 30 Dec 2024 02:41:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://skillotour.in/wp-content/uploads/2025/01/cropped-apple-touch-icon-1-32x32.png</url>
	<title>html Archives - SkilloTour</title>
	<link>https://skillotour.in/tag/html/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Bouncing Ball Animation in CSS</title>
		<link>https://skillotour.in/2024/12/28/bouncing-ball-animation-in-css/</link>
					<comments>https://skillotour.in/2024/12/28/bouncing-ball-animation-in-css/#comments</comments>
		
		<dc:creator><![CDATA[Naveen Naik]]></dc:creator>
		<pubDate>Sat, 28 Dec 2024 17:25:47 +0000</pubDate>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<guid isPermaLink="false">https://skillotour.in/?p=85</guid>

					<description><![CDATA[<p>In this article, let us discuss cool bouncing ball animation using CSS. Code in CSS Below is the code for the cool bouncing ball animation using CSS. Output: Explanation HTML CSS How to Use You can learn more about CSS here. You can also read 5 important Digital Tools for every competitive exam aspirant.</p>
<p>The post <a href="https://skillotour.in/2024/12/28/bouncing-ball-animation-in-css/">Bouncing Ball Animation in CSS</a> appeared first on <a href="https://skillotour.in">SkilloTour</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>In this article, let us discuss cool bouncing ball animation using CSS.</p>



<h2 class="wp-block-heading">Code in CSS</h2>



<p>Below is the code for the cool bouncing ball animation using CSS.</p>



<pre class="wp-block-code"><code>&lt;!DOCTYPE html>
&lt;html lang="en">
&lt;head>
  &lt;meta charset="UTF-8">
  &lt;meta name="viewport" content="width=device-width, initial-scale=1.0">
  &lt;title>Bouncing Ball Animation&lt;/title>
  &lt;style>
    body {
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      margin: 0;
      background: linear-gradient(45deg, #ffe3ce, #fad0c4);
      overflow: hidden;
      font-family: Arial, sans-serif;
    }
    .ball {
      width: 50px;
      height: 50px;
      background: #e93a92;
      border-radius: 50%;
      position: relative;
      animation: bounce 2s infinite ease-in-out;
    }
    @keyframes bounce {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-200px);
      }
    }
  &lt;/style>
&lt;/head>
&lt;body>
  &lt;div class="ball">&lt;/div>
&lt;/body>
&lt;/html>
</code></pre>



<p><strong>Output</strong>:</p>



<div class="wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained">
<figure class="wp-block-image aligncenter size-large"><img fetchpriority="high" decoding="async" width="280" height="271" src="https://skillotour.in/wp-content/uploads/2024/12/bouncing_ball.gif" alt="" class="wp-image-88"/></figure>
</div>



<h2 class="wp-block-heading">Explanation</h2>



<p><strong>HTML</strong></p>



<ul class="wp-block-list">
<li>The <code>div</code> element with the class <code>ball</code> represents the bouncing ball.</li>
</ul>



<p><strong>CSS</strong></p>



<ul class="wp-block-list">
<li><code>@keyframes bounce</code> defines the animation that makes the ball move up and down.</li>



<li>The <code>animation</code> property applies the bounce effect with a 2-second duration and infinite repetitions.</li>



<li><code>linear-gradient</code> is used to add an attractive background.</li>
</ul>



<h3 class="wp-block-heading"><strong>How to Use</strong></h3>



<ol class="wp-block-list">
<li>Copy the code into a <code>.html</code> file.</li>



<li>Open the file in a browser to see the animation in action.</li>



<li>Customize the animation timing, size, or colors as you like.</li>
</ol>



<p>You can learn more about CSS <a href="https://www.w3schools.com/html/html_css.asp">here</a>. </p>



<p>You can also read <a href="https://skillotour.in/2024/12/27/5-important-digital-tools-for-every-competitive-exam-aspirant/">5 important Digital Tools for every competitive exam aspirant</a>.</p>
<p>The post <a href="https://skillotour.in/2024/12/28/bouncing-ball-animation-in-css/">Bouncing Ball Animation in CSS</a> appeared first on <a href="https://skillotour.in">SkilloTour</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://skillotour.in/2024/12/28/bouncing-ball-animation-in-css/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">85</post-id>	</item>
	</channel>
</rss>
