Flip Effect with CSS

CSSWeb DevelopmentFront End Technology

The flip effect is used to create a mirror image of the object. The following parameters can be used in this filter

S.No
Parameter & Description
1
FlipH
Creates a horizontal mirror image
2
FlipV
Creates a vertical mirror image

Example

To set flip effect

Live Demo

<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>
raja
Published on 30-Apr-2018 08:08:28
Advertisements