Участник:Alex Mashin/SVG

Материал из свободной русской энциклопедии «Традиция»
Перейти к: навигация, поиск

SVG[править]

<svg width="520" height="520px" debug="on"> <style type="text/css"> <![CDATA[ text{font-size:362px;font-weight:bold;font-family:"Times New Roman", serif}

  1. P0 {fill:#d4a000;stroke:#000;stroke-width:9}
  2. P1 {fill:url(#tl)}
  3. P2 {fill:url(#bl)}
  4. P3 {fill:url(#br)}
  5. P4 {fill:url(#tr)}

]]> </style> <defs>

 <linearGradient id="dk"> 
   <stop/> 
   <stop style="stop-opacity:0" offset="1"/>
 </linearGradient> 
 <linearGradient id="lt">
   <stop style="stop-color:#ffe681"/>
   <stop style="stop-color:#ffe681;stop-opacity:0" offset="1"/>
 </linearGradient>
 <linearGradient x1="136.4" y1="136.4" x2="167.5" y2="167.5" id="tl" xlink:href="#lt" 
             gradientUnits="userSpaceOnUse"/>
 <linearGradient x1="136.4" y1="383.6" x2="167.5" y2="352.5" id="bl" xlink:href="#lt" 
             gradientUnits="userSpaceOnUse"/> 
 <linearGradient x1="383.6" y1="383.6" x2="352.5" y2="352.5" id="br" xlink:href="#dk" 
             gradientUnits="userSpaceOnUse"/>
 <linearGradient x1="383.6" y1="136.4" x2="352.5" y2="167.5" id="tr" xlink:href="#dk" 
             gradientUnits="userSpaceOnUse"/>

</defs> <path id="P0" d="M260,6.3L 6.3,260L 260,513.7L 513.7,260L 260,6.3z"/> <a xlink:href="На главную страницу" title="Hyperlink" id="l1"> <text y="380" x="180" text-align="center">!</text></a> <path id="P1" d="M260,12.7L 260,75L 75,260L 12.7,260L 260,12.7z"/> <path id="P2" d="M260,507.3L 260,445L 75,260L 12.7,260L 260,507.3z"/> <path id="P3" d="M260,507.3L 260,445L 445,260L 507.3,260L 260,507.3z"/> <path id="P4" d="M260,12.7L 260,75L 445,260L 507.3,260L 260,12.7z"/> </svg>