본문 바로가기

개발/Html5

vector 좌표, 크기조절

html5 벡터그래픽으로 좌표 지정해서 위치잡고 또... 크기도 조절한다네

<svg width="100%" height="1080">

  <rect x="100" y="100" rx="20" ry="20" width="150" height="150"

  style="fill:red;stroke:black;stroke-width:5;opacity:0.5" />

Sorry, your browser does not support inline SVG.

</svg>