ShapeType creates templates for VML_VML related

WBOY
Release: 2016-05-16 12:09:53
Original
1556 people have browsed it

This function of VML is very useful. Templates, as the name suggests, can reduce the amount of code written and improve the readability of the code. When understanding VML templates, you can understand them the same as CSS in HTML. It is a defined shape. You can just declare the type attribute directly the next time you use it. Take a look at the following example:

shapetype id="arrowUP" coordsize="6 6">
 

shapetype id="arrowDown" coordsize="6 6">



After defining the above template, you can directly Called:

 

 

 

Don’t know Have you noticed that the use of "," in VML is not mandatory. You can use coordsize="6,6" or coordsize="6 6", the effect is the same.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!