Fliph, FLIPV properties of CSS Filters

Source: Internet
Author: User
Tags filter define
css| filter Flip is the Flip property of a CSS filter, fliph represents a horizontal flip, and FLIPV represents a vertical flip. Their expressions are simple, respectively:

Filter:fliph

Filter:flipv

Let's look at a picture: click to enlarge

The following is a horizontal flip and a vertical flip for it, and a piece of text above the picture also flips. The code is as follows:

<title>flip css</title>
<style>//* set CSS style start *//
<!--
div{position:absolute;top:20;width:300;
Filter:fliph (FLIPV);}
* Define DIV range style, absolutely position, flip to flip horizontally or flip vertically.
Note: Here Fliph and FLIPV only take one of the *//
img{position:absolute;top:70;left:40;
Filter:fliph (FLIPV);}
* Define the style of the picture, absolute positioning, flip attributes and Div. *//
-->
</style>
<body>
<div>
<p style= "FONT-FAMILY:BAILEY;FONT-SIZE:36PT;
Font-weight:bold Color:rgb (10,128,156); ">
Leaf Village </p>
* Define font name, size, weight, color *//
</div>
<p></p>
* Import a picture *//
</body>

The two effects that the code produces are as follows: (click to enlarge)

             

Flip Vertical Flip Horizontally



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.