Clip-path attribute of CSS3, CSS3clip-path attribute

Source: Internet
Author: User

Clip-path attribute of CSS3, CSS3clip-path attribute

First, let's talk about the clip-path attribute. I have never seen this clip-path Attribute before. I searched the internet and found that clip-path originally meant "cut.
Clip-path: polygon (x, y) attribute. x in polygon (x, y) indicates the position of the x coordinate (px %), and y indicates the position of the y coordinate (px % ).
In the end, this clip-path cut is like photoshop, which can replace photoshop to cut images. However, the difference between code and ps is that the code needs to be manually searched for paths, and ps can be directly used with the magic wand.
Here is the image I just cut with clip-path:

In fact, svg can also create path diagrams. Svg also has the clippath attribute.

Source Address: http://images.cnblogs.com/cnblogs_com/hao5599/678419/o_20150314.jpg

<! -- Reference learning http://www.w3cplus.com/css3/css-svg-clipping.html -->

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.