mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
(cherry picked from commit 7c4aaa761397c4fee13d0e35d25d07910e44675b) IJ-CR-162639 GitOrigin-RevId: 5dd28c2cdd847e32084823c21c092bcd2b658f8e
1 line
2.7 KiB
HTML
1 line
2.7 KiB
HTML
<divclass='definition'><pre>stroke-width</pre></div><divclass='content'><details><summary><tablestyle='margin:0px;padding:0px'><tr><tdwidth=2valign=topstyle='margin:0px;padding:0px4px0px0px'><iconsrc='com.intellij.xml.psi.impl.icons.XmlPsiImplIcons.BaselineHigh'></icon><tdstyle='margin:0px;padding:0px'>Widelyavailableacrossmajorbrowsers<i>(Baseline since 2022)</i></td></tr></table></summary><pclass='grayed'>Chrome80,ChromeAndroid80,Edge80,Firefox1,FirefoxAndroid4,Opera67,Safari13.1,SafariiOS13.4</details>The<strong><code>stroke-width</code></strong>attributeisapresentationattributedefiningthewidthofthestroketobeappliedtotheshape.ItappliestoanySVGshapeortext-contentelement,butasaninheritedproperty,itmaybeappliedtoelementssuchas<ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Reference/Element/g"><code><g></code></a>andstillhavetheintendedeffectondescendantelements'strokes.<divclass="notecardnote"><p><strong>Note:</strong>Asapresentationattribute,<code>stroke-width</code>alsohasaCSSpropertycounterpart:<ahref="https://developer.mozilla.org/en-us/docs/Web/CSS/stroke-width"><code>stroke-width</code></a>.Whenbotharespecified,theCSSpropertytakespriority.</div><p>YoucanusethisattributewiththefollowingSVGelements:<ul><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Reference/Element/circle"><code><circle></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Reference/Element/ellipse"><code><ellipse></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Reference/Element/line"><code><line></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Reference/Element/path"><code><path></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Reference/Element/polygon"><code><polygon></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Reference/Element/polyline"><code><polyline></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Reference/Element/rect"><code><rect></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Reference/Element/text"><code><text></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Reference/Element/textPath"><code><textPath></code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Reference/Element/tspan"><code><tspan></code></a></li></ul></div><divclass='content'>By<ahref='https://developer.mozilla.org/en-us/docs/web/svg/reference/attribute/stroke-width/contributors.txt'>MozillaContributors</a>,<ahref='https://creativecommons.org/licenses/by-sa/2.5/'>CCBY-SA2.5</a></div> |