天天看点

VML画的苹果

例:

<html xmlns:v>

<style>

v/:*{behavior:url(#default#VML)}

</style>

<body onselectstart="return false">

<div style="POSITION: absolute">

<DIV id=div1 style="CURSOR: default; POSITION: absolute;left:100">

<v:shape title="" style="WIDTH: 1px; POSITION: absolute; HEIGHT: 1px" coordsize = "1,1" fillcolor = "black" strokecolor = "#8b0101" strokeweight = "0" path = " m80,110 qx50,150,100,195,150,150,120,110 l100,115 x e"><v:fill type = "gradient" opacity = "1" angle = "135" method = "sigma" colors = "39321f red"></v:fill><v:shadow on = "t" type = "emboss" opacity = "52428f" offset = "2.25pt,2.25pt" offset2 = "3.75pt,3.75pt"></v:shadow></v:shape><v:shape title="" style="WIDTH: 1px; POSITION: absolute; HEIGHT: 1px" coordsize = "1,1" fillcolor = "#0c0" strokecolor = "#004600" strokeweight = "0" path = " m110,90 c120,50,150,60,170,60 xe"></v:shape><v:shape title="" style="WIDTH: 1px; POSITION: absolute; HEIGHT: 1px" coordsize = "1,1" fillcolor = "#090" strokecolor = "#004600" strokeweight = "0" path = " m170,60 c160,90,140,100,110,90 xe"></v:shape><v:line style="LEFT: 0px; POSITION: absolute; TOP: 0px" from = "82.5pt,67.5pt" to = "72.75pt,72.75pt" strokecolor = "#004600" strokeweight = "0"><v:stroke startarrow = "none" endarrow = "none"></v:stroke></v:line><v:curve style="LEFT: 0px; POSITION: absolute; TOP: 0px" from = "63.75pt,60pt" control1 = "75pt,67.5pt" control2 = "75pt,86.25pt" to = "75pt,86.25pt" strokecolor = "#8b0101" strokeweight = "2pt">

</div>

<div style=height:400></div>

</body>