
- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
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>
- Related Questions & Answers
- How to flip an image (add a mirror effect) with CSS?
- Create a transparent image with CSS
- Create rounded image with CSS
- Create circled image with CSS
- Create thumbnail image with CSS
- How to create a mirror image using Java OpenCV library?
- How to create a Hero Image with CSS?
- How to create a responsive image with CSS?
- How to create a sticky image with CSS?
- How to create image filters with CSS
- How to create a responsive image gallery with CSS
- How to create a blurry background image with CSS?
- How to create a full-page background image with CSS?
- How to create an image gallery with CSS
- How to create an avatar image with CSS?
Advertisements