
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
Animate vertical-align property with CSS Animation
To implement animation on vertical-align property with CSS, you can try to run the following code −
Example
<!DOCTYPE html> <html> <head> <style> img { vertical-align: 80px; animation: myanim 3s; } @keyframes myanim { 50% { vertical-align:120px; } } </style> </head> <body> <h1>CSS vertical-align property</h1> <div></div> <p><img src="https://www.tutorialspoint.com/latest/microservice_architecture.png" width = "80" height = "80"> This is demo text. This is demo text. This is demo text. This is demo text. </p> </body> </html>
Advertisements