altro esempio SVG
This commit is contained in:
@@ -1,16 +1,26 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MachineUnload.aspx.cs" Inherits="NKC_WF.MachineUnload" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<style>
|
||||
<style>
|
||||
#my-rect {
|
||||
fill: green;
|
||||
}
|
||||
#my-rect2 {
|
||||
fill: yellow;
|
||||
}
|
||||
#IT0000123 {
|
||||
fill: #FF6969;
|
||||
}
|
||||
</style>
|
||||
<svg>
|
||||
<rect x="10" y="10" width="50" height="50" fill="red" id="my-rect" />
|
||||
<rect x="25" y="25" width="50" height="50" fill="red" id="my-rect2" />
|
||||
<rect x="10" y="10" width="50" height="50" fill="blue" id="my-rect" />
|
||||
<rect x="25" y="25" width="50" height="50" fill="orange" id="my-rect2" />
|
||||
</svg>
|
||||
|
||||
<div style="width: 200px; height: 200px;">
|
||||
<svg viewBox='0 0 105 93' xmlns='http://www.w3.org/2000/svg'>
|
||||
<path id="IT0000123" d='M66,0h39v93zM38,0h-38v93zM52,35l25,58h-16l-8-18h-18z' fill='#ED1C24' />
|
||||
</svg>
|
||||
</div>
|
||||
|
||||
</asp:Content>
|
||||
|
||||
Reference in New Issue
Block a user