2020-09-06から1日間の記事一覧

メモ:SVG要素のその属性は本当に必要なのか

あるウェブページで次のようなSVG要素が直に埋め込まれていたのを見つけた。 <svg viewBox="0 0 24 24" height="32" width="32" aria-hidden="false" focusable="false" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="currentColor" aria-label="email" stroke-linecap="round" stroke-linejoin="round"> <path d="..."></path> </svg>