
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
Create a Mirror Image with CSS
The flip effect is used to create a mirror image of the object. The following parameters can be used in this filter -
Parameter |
Description |
---|---|
FlipH |
Creates a horizontal mirror image |
FlipV |
Creates a vertical mirror image |
Example
You can try to run the following code to create a mirror image
<html> <head> </head> <body> <img src="/css/images/logo.png" alt="CSS Logo" style="Filter: FlipH"> <img src="/css/images/logo.png" alt="CSS Logo" style="Filter: FlipV"> <p>Text Example:</p> <div style="width: 300; height: 50; font-size: 30pt; font-family: Arial Black; color: red; Filter: FlipV">CSS Tutorials</div> </body> </html>
Advertisements