2017-10-08 3 views
0

Chaque fois que j'essaye quelque chose, tout le code est corrompu. Y a-t-il quelqu'un ici qui puisse m'aider avec ça s'il vous plait? Ce n'est qu'une ligne, ça ne devrait pas être si difficile, je ne comprends pas pourquoi.Retrait d'une ligne au milieu d'un triangle sans gâcher le reste du code

https://jsfiddle.net/r1kc162b/

<svg width="300" height="300" style="background-color:red;" viewBox="13 9.0 11 18"> 
    <path fill="currentColor" style="stroke: #0059dd; stroke-width:1px;color:black;" d="M 12,26 18.5,22 18.5,14 12,10 z M 18.5,22 25,18 25,18 18.5,14 z"></path> 
    </svg> 

Répondre

1

Cela fonctionne:

<svg width="300" height="300" style="background-color:red;" viewBox="13 9.0 11 18"> 
<path fill="currentColor" 
     style="stroke: #0059dd; stroke-width:1px;color:black;" 
     d="M 12,26 12,10 25,18 z"> 
</path> 
</svg> 

JSFiddle

+0

Merci ...... – svgcoding

+0

Vous voyez si vous pouvez me aider à faire cela. https://stackoverflow.com/questions/46631081/placing-an-image-behind-a-border-and-2-verticle-lines – svgcoding