Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

border radius rect svg

<svg viewBox="0 0 220 100" xmlns="http://www.w3.org/2000/svg">
  <!-- Simple rectangle -->
  <rect width="100" height="100" />

  <!-- Rounded corner rectangle -->
  <rect x="120" width="100" height="100" rx="15" />
</svg>
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #border #radius #rect #svg
ADD COMMENT
Topic
Name
2+4 =