Found 1566 Articles for CSS

Animate CSS padding-right property

Nishtha Thakur
Updated on 25-Jun-2020 14:56:49

122 Views

To implement animation on padding-right property with CSS, you can try to run the following code:ExampleLive Demo                    div {             width: 350px;             height: 150px;             outline: 3px solid orange;             animation: myanim 3s infinite;          }          @keyframes myanim {             30% {                padding-right: 60px;             }          }                     CSS padding-right property          

Animate CSS padding-left property

Chandu yadav
Updated on 25-Jun-2020 14:56:10

340 Views

To implement animation on padding-left property with CSS, you can try to run the following codeExampleLive Demo                    div {             width: 350px;             height: 150px;             outline: 3px solid orange;             animation: myanim 3s infinite;          }          @keyframes myanim {             50% {                padding-left: 20px;             }          }                     CSS padding-left property          

Animate CSS padding-bottom property

Nishtha Thakur
Updated on 25-Jun-2020 14:53:59

1K+ Views

To implement animation on padding-bottom property with CSS, you can try to run the following code:ExampleLive Demo                 div {          width: 350px;          height: 150px;          outline: 3px solid blue;          animation: myanim 3s infinite;       }       @keyframes myanim {          50% {             padding-bottom: 30px;          }       }                     CSS padding-bottom property          

Animate CSS outline

Krantik Chavan
Updated on 06-Jul-2020 11:53:47

393 Views

To implement animation on outline property with CSS, you can try to run the following code:ExampleLive Demo                    div {             width: 550px;             height: 350px;             outline: 1px solid blue;             animation: myanim 3s infinite;          }          @keyframes myanim {             50% {                outline: 10px dashed orange;             }          }                     CSS outline property          

Animate CSS outline-width

George John
Updated on 25-Jun-2020 14:50:01

326 Views

To implement animation on outline-width property with CSS, you can try to run the following codeExampleLive Demo                    div {             width: 350px;             height: 150px;             outline: 2px solid yellow;             animation: myanim 3s infinite;          }          @keyframes myanim {             50% {                outline-width: 10px;             }          }                     CSS outline-width property          

CSS voice-range Speech Media property

Daniol Thomas
Updated on 25-Jun-2020 14:48:43

77 Views

The voice-range property in CSS is used to set the range of the speaking voice. This is the pitch range.The following is the syntax:voice-range: [[x-low | low | medium | high | x-high]]Above, set the range of pitch i.e. low, medium, high, etc.The following is an example of the voice-range property:p {    voice-range: 90Hz; }

Animate CSS order property

Ankith Reddy
Updated on 25-Jun-2020 14:49:22

1K+ Views

To implement animation on order property with CSS, you can try to run the following codeExampleLive Demo                    #demo1 {             width: 600px;             height: 180px;             display: flex;          }          #inner {             animation: myanim 3s infinite;          }          #demo1 div {             width: 110px;             height: 180px;          }          @keyframes myanim {             30% {                order: 4;             }          }                     CSS order property                                                                            

Perform Animation on CSS margin-top

Arjun Thakur
Updated on 25-Jun-2020 14:46:44

1K+ Views

To implement animation on margin-top property with CSS, you can try to run the following codeExampleLive Demo                    div {             background-color: orange;             animation: myanim 4s infinite;             color: white;          }          @keyframes myanim {             30% {                margin-top: 30px;             }          }                     Heading One                This is demo text.          

Perform Animation on CSS min-width

Chandu yadav
Updated on 25-Jun-2020 14:46:05

177 Views

To implement animation on min-width property with CSS, you can try to run the following codeExampleLive Demo                    div {             overflow: auto;             width: 50%;             background-color: blue;             color: white;             border: 1px solid black;             animation: myanim 3s infinite;          }          @keyframes myanim {             ... Read More

Animate transform-origin property with CSS Animation

Ankith Reddy
Updated on 25-Jun-2020 14:44:43

822 Views

To implement animation on the transform-origin property with CSS, you can try to run the following codeExampleLive Demo                    #demo1 {             position: relative;             height: 300px;             width: 400px;             border: 2px solid black;             margin: 100px;             padding: 5px;          }          #demo2 {             padding: 30px;             position: absolute;             border: 1px solid black;             background-color: orange;             transform: rotate(45deg);             transform-origin: 30% 10%;             animation: mymove 3s infinite;          }          @keyframes mymove {             30% {                transform-origin: 0 0 0;             }          }                     CSS transform-origin property                Demo          

Advertisements