Showing posts with label Animation. Show all posts
Showing posts with label Animation. Show all posts

Saturday, 14 September 2019

water flow on text animation using html and css

water flow on text animation using html and css  source code view below




  in this animation we have to create two files  this are

  1.index.html
  2.style.css

Index.html:
 = = = = =
<html lang="en" >
<head>
  <meta charset="UTF-8">
  <title>Water Fill On Text | sandyapagasreenu.blogspot.com</title>
  <link rel="stylesheet" href="style.css">
  <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
  <link href="https://fonts.googleapis.com/css?family=Lexend+Deca&display=swap" rel="stylesheet">

</head>
<body>
<div class="loading wave">
sandyapagasreenu.blogspot.com
</div>
<div class="loading2 wave2">
  sandyapagasreenu.blogspot.com
</div>
</body>
</html>

style.css
= = = =  =
body {
  background: #212121;
  width: 100%;
  height: 100%;
}
.loading, .loading2 {
  text-transform: lowercase;
  font-family: 'Lexend Deca', sans-serif;
  font-weight: bold;
  font-size: 60pt;
  text-align: center;
  height: 120px;
  line-height: 110px;
  vertical-align: bottom;
  position: absolute;
  left: 0;
  right: 0;
  top: 100px;
  bottom: 0;
  display: block;
}
.loading2 {
  top: 240px;
}
.wave {
  background-image: url("https://webdevtrick.com/wp-content/uploads/water-wave-blue.png");
  -moz-background-clip: text;
  -o-background-clip: text;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0px 0px rgba(255, 255, 255, 0.06);
  animation: wave-animation 1s infinite linear, loading-animation 10s infinite linear alternate;
  background-size: 200px 100px;
  background-repeat: repeat-x;
  opacity: 1;
}
.wave2 {
  background-image: url("https://webdevtrick.com/wp-content/uploads/water-wave.png");
  -moz-background-clip: text;
  -o-background-clip: text;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0px 0px rgba(255, 255, 255, 0.06);
  animation: wave-animation 1s infinite linear, loading-animation 10s infinite linear alternate;
  background-size: 200px 100px;
  background-repeat: repeat-x;
  opacity: 1;
}

@keyframes wave-animation {
  0% {
    background-position: 0 bottom;
  }
  100% {
    background-position: 200px bottom;
  }
}
@keyframes loading-animation {
  0% {
    background-size: 200px 0px;
  }
  100% {
    background-size: 200px 200px;
  }
}
@media (max-width: 765px) {
  .loading, .loading2 {
    font-size: 50pt;
  }
}

Thursday, 11 April 2019

Happy Chistamas Animation using Html and Css




<!--create a web page to apply animation to image tag by using css AnimatioN-->
<!DOCTYPE html>
<html>
<head>
<style>
#x
{
 border:2px solid green;
 background-color:green;
 color:white;
 text-align:center;
 width-left:400px;
 padding:10px;
 border-top-left-radius:20px;
 border-bottom-right-radius:20px;
}
h2
{
 color:blue;
 text-shadow:0px 0px 5px green;
}

@keyframes Animation1
{
 from {width:100px;height:60px;transform:rotate(0deg);}
 to {width:600px;height:400px;transform:rotate(360deg);}
}
#img1
{
 width:100px;
 height:60px;
 border:0px solid blue;
 border-radius:10px;
 padding:5px;
 margin-left:50px;

 Animation-name:Animation1;
 Animation-duration:20s;
 Animation-iteration-count:5;
 Animation-direction:alternate;
 Animation-delay:4s;

}
</style>
</head>

<body bgcolor="orange">
<h1 id="x">HAPPY CHISTAMAS</h1>
<marquee><h2>HAPPY HAPPY CHISTAMAS MERRY MERRY CHISTAMAS</h2></marquee>
<br></br>
<img id="img1" src="santa1.gif"/>
<img id="img1" src="santa2.gif"/>

</body>
</html>

Friday, 22 March 2019

Happy Holi Animation Using Html and CSS






<!DOCTYPE html>
<html>
<head>
<style>
a
{
  margin:10px;
  text-decoration:none;
  color:white;
}
ul li
{
 padding-top:10px;
 text-align:center;
 list-style:none;
 float:left;
 height:30px;
 width:100px;
 border-right:3px solid white;
}

nav
{
background-color:Deeppink;
height:40px;
font-size:20px;
}

ul li:hover
{
 background-color:DodgerBlue;
 color:white;
}


footer
{
  background-color:Darkred;
  color:white;
  text-align:right;
  height:30px;
  padding-top:10px;
  border-radius:10px;
}
span 
{
 font-size:30px;
}
p
{
   text-align:justify;
   padding:5px;
}



</style>
</head>

<body bgcolor="lightyellow">

    <header>
<img src="logo.png" align="center" width="100"/> &nbsp
<span >sreenu  creations<span>
<hr/>
    </header>

<nav>
<ul>
    <li> <a href="#s3">Home</a></li>
<li> <a href="#s1">Courses</a></li>
<li> <a href="#s2">About us</a></li>
<li> <a href="#s4">Contact  </a></li>
<li> <a href="Login.html">Log in</a></li>
</ul>
</nav>
<br/> 
<marquee direction="right" scrollamount="5"><h1>Happy Holi</h1> </marquee>
<br/>
<marquee scrollamount="10"><img src="giphy.gif" width="200" border="1"/> </marquee>
<br/>
<marquee direction="right" scrollamount="5"><img src="giphy1.gif" width="200" border="1"/> </marquee>

<br/>  

<footer>
       &copy; copy right 2019 Bollaram, HYD.
</footer>
</body>
</html>    



Monday, 18 February 2019

FISH ANIMATION USING CSS3


<!create a web page fish animation using css3 !>
<html>
<head>
<style>
#m3
{
  position:absoute;
  left:250px;
  top:-5
}
</style>
</head>
<body background="ocean.jpg">

<marquee scrollamount="5" direction="left">
<img src="fish1.gif" width="140" height="100" />
</marquee>
<marquee scrollamount="5" direction="right">
<img src="fish2.gif" width="140" height="100" />
</marquee>
<marquee id="m3" scrollamount="5" direction="down" height="500">
<img src="fish1.gif" width="140" height="100" />
</marquee>
<marquee scrollamount="5" direction="left">
<img src="fish3.gif" width="140" height="100" />
</marquee>


</body>
</html>

VINAYAKA ANIMATION USING CSS


<!create a web page vinayaka animation using css !>

<html>
<head>
<style>
h1
{ 
  border-width:2px;
  font-family:'tahoma';
  color:green;
  
}
</style>
</head>
<body bgcolor="orange">

<marquee direction="right" scrollamount="5"><h1>Happy vinayaka chavithi</h1> </marquee>
<br/>
<marquee scrollamount="10"><img src="vinayaka.gif" width="130"/> </marquee>
<br/>
<marquee direction="right" scrollamount="5"><img src="ganesh.gif" width="200"/> </marquee>

<marquee direction="right" scrollamount="10"><img src="vinayaka.gif" width="130"/> </marquee>

</body>
</html>

Saturday, 1 September 2018

PSPK ANIMATION



<!--create a web page to apply animation to image tag by using css Animation-->

<!DOCTYPE html>
<html>
<head>
<style>
#x
{
 border:2px solid green;
 background-color:green;
 color:white;
 text-align:center;
 width-left:400px;
 padding:10px;
 border-top-left-radius:20px;
 border-bottom-right-radius:20px;
}
h2
{
 color:blue;
 text-shadow:0px 0px 5px green;
}

@keyframes Animation1
{
 from {width:100px;height:60px;transform:rotate(0deg);}
 to {width:600px;height:400px;transform:rotate(360deg);}
}
#img1
{
 width:100px;
 height:60px;
 border:0px solid blue;
 border-radius:10px;
 padding:5px;
 margin-left:50px;

 Animation-name:Animation1;
 Animation-duration:20s;
 Animation-iteration-count:5;
 Animation-direction:alternate;
 Animation-delay:4s;

}
</style>
</head>

<body bgcolor="orange">
<h1 id="x">PAVAN KALYAN</h1>
<marquee><h2>HAPPY BIRTHDAY PSPK PAVANISM</h2></marquee>
<br></br>
<img id="img1" src="pspk.jpg"/>
<img id="img1" src="pk.jpg"/>

</body>
</html>