xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"<">

XML实现三维字技巧

80酷酷网    80kuku.com

  xml|技巧

将一下代码拷贝到网页中(.htm)就行了

<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=GB2312">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--></head>
<body lang=ZH-CN class=Section1 class=MsoNormal><!--[if gte vml 1]><v:shapetype id="_x0000_t136"
 coordsize="21600,21600" o:spt="136" adj="10800" path="m7,0l8,0m5,21600l6,21600e">
 <v:formulas>
  <v:f eqn="sum #0 0 10800"/>
  <v:f eqn="prod #0 2 1"/>
  <v:f eqn="sum 21600 0 1"/>
  <v:f eqn="sum 0 0 2"/>
  <v:f eqn="sum 21600 0 3"/>
  <v:f eqn="if 0 3 0"/>
  <v:f eqn="if 0 21600 1"/>
  <v:f eqn="if 0 0 2"/>
  <v:f eqn="if 0 4 21600"/>
  <v:f eqn="mid 5 6"/>
  <v:f eqn="mid 8 5"/>
  <v:f eqn="mid 7 8"/>
  <v:f eqn="mid 6 7"/>
  <v:f eqn="sum 6 0 5"/>
 </v:formulas>
 <v:path textpathok="t" o:connecttype="custom" o:connectlocs="9,0;10,10800;11,21600;12,10800"
  o:connectangles="270,180,90,0"/>
 <v:textpath on="t" fitshape="t"/>
 <v:handles>
  <v:h position="#0,bottomRight" xrange="6629,14971"/>
 </v:handles>
 <o:lock v:ext="edit" text="t" shapetype="t"/>
</v:shapetype><v:shape id="_x0000_s1026" type="#_x0000_t136" fillcolor="#369" stroked="f">
 <v:shadow color="#4d4d4d" offset=",3pt"/>
 <o:extrusion v:ext="view" backdepth="1in" on="t" viewpoint="0,1250000emu"
  viewpointorigin="0,.5" skewangle="90" lightposition="-50000"
  lightposition2="50000" type="perspective"/>
 <v:textpath v-text-kern:t' trim="t" fitpath="t" string="CSDN"/>
</v:shape><![endif]--></span></p>

</div>

</body>

</html>



分享到
  • 微信分享
  • 新浪微博
  • QQ好友
  • QQ空间
点击: