A
A
Anastasia2020-12-17 17:57:19
SVG
Anastasia, 2020-12-17 17:57:19

How to make a rectangle in svg with no fill and no bottom border?

How to make a rectangle in svg in the form of the letter P - without filling and without bottom border?

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <rect x="10" y="10" width="100" height="100" stroke="black" stroke-width="5" fill="none" />
</svg>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-12-17
@KnopkaNen

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <path transform="translate(10 10)" d="m0,100l0,-100l100,0l0,100" fill="none" stroke="black" stroke-width="5"/>
</svg>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question