Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
border-left-widthSVG rectの境界線をそれと同じように操作することは可能border-right-widthですか?
border-left-width
border-right-width
あなたが尋ねたので、答えは、私は恐れています。長方形の辺を選択的に変更する場合は、4本の別々の線として描画する必要があります。
これを試して、自分のものに変更してください。
<svg width="400" height="110"> <rect width="300" height="100" style="fill:rgb(0,0,255);stroke-width:3;stroke:rgb(0,0,0)" /> </svg>