Base: Use fill-opacity and stroke-opacity in SVG example

This commit is contained in:
MacDue 2023-05-19 22:09:27 +01:00 committed by Andreas Kling
parent 1d91a56242
commit ac104f7845
Notes: sideshowbarker 2024-07-17 17:40:13 +09:00

View file

@ -13,7 +13,7 @@
<body>
<svg width="800" height="1200">
<path d="M 10 10 h 100 l -50 80 z" fill="green" stroke="black" stroke-width="3"></path>
<path d="M 60 10 h 100 l -50 80 z" fill="red" stroke="blue" stroke-width="3"></path>
<path d="M 60 10 h 100 l -50 80 z" fill="red" fill-opacity="50%" stroke="blue" stroke-opacity="50%" stroke-width="3"></path>
<path d="M 110 10 h 100 l -50 80 z" class="css"></path>
<path d="M 135 275 v -100 a 100,100 0 0,0 -100,100 z" fill="yellow" stroke="blue" stroke-width="3"></path>