marker-dynamic-opacity-ref.html (386B)
1 <!DOCTYPE html> 2 <svg> 3 <defs> 4 <marker id="Triangle" viewBox="0 0 10 10" refX="1" refY="5" 5 markerWidth="6" markerHeight="6" orient="auto" 6 style="opacity: 0.2"> 7 <path d="M 0 0 L 10 5 L 0 10 z" /> 8 </marker> 9 </defs> 10 <polyline points="10,90 50,80 90,20" fill="none" stroke="black" 11 stroke-width="2" marker-end="url(#Triangle)" /> 12 </svg>