# CSS background と conic-gradient で bookmark のブックマーク作る
CSS の発展は日進月歩!CSS の conic-gradient 関数使ってブックマーク図形を描きます。
html
<div class="bookmark"></div>
css
.bookmark {
background: conic-gradient(
from -45deg,
currentColor 25%,
currentColor 50%,
transparent 50%,
transparent 75%,
currentColor 75%
) 50% 120% / 30% 80% no-repeat;
}
MDN Web Docs:background (opens new window)
MDN Web Docs:conic-gradient (opens new window)