
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 1594 Articles for CSS

161 Views
To implement animation on perspective-origin property with CSS, you can try to run the following code −ExampleLive Demo #demo1 { position: relative; margin: auto; height: 250px; width: 350px; padding: 10px; border: 2px solid orange; perspective: 125px; animation: myanim 3s infinite; } @keyframes myanim { 70% { perspective-origin: 5px 30%; } } #demo2 { padding: 70px; position: absolute; border: 2px solid black; background-color: blue; color: white; transform: rotateX(30deg); } CSS perspective-origin property This is demo text in div1. This is demo text in div2.

137 Views
To implement animation on perspective property with CSS, you can try to run the following codeExampleLive Demo #demo1 { position: relative; margin-left: 120px; height: 250px; width: 350px; padding: 10px; border: 1px solid orange; animation: myanim 3s infinite; perspective: 200px; } @keyframes myanim { 50% { perspective: 100px; } } #demo2 { padding: 90px; position: absolute; border: 1px solid black; background-color: orange; transform: rotateX(60deg); } This is demo text in div1. This is demo text in div2.

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

126 Views
Set whether the text is to be spoken or spelled using the speak-as speech media property.You can spell the text, speak the numeral, etc. To spell out, the following is an exampleabbr { speak-as: spell-out; }Above, I have used spell-out that spells out one letter at a time.

472 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

126 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; }

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.

290 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

997 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