Posts

Showing posts from July, 2020

CSS animation.

CSS animation An animation is an element which changes its one style gradually to another style. You can change CSS property according to requirement. To use CSS animation, you must first specify some keyframes for the animation. The animation will gradually change from the style to the new style at certain times to get an animation you must bind the animation to an element. CSS animation properties: @keyframes animation-name animation-duration animation-delay animation-iteration-count animation-direction animation-timing-function animation-fill-mode animation <!DOCTYPE html> <html>     <head>         <style>             div             {                 width: 150px;                 height: 150px;                 animation-name:developeranke;                 animation-duration: 3s;                 background-color: aqua;                 border-radius: 10px;                             }