CSSだけで組み立てられたアイコンを公開しているサイト『One div』 『One div』は純粋にCSSだけで組み立てられたさまざまのアイコンを公開しているサイト。 各アイコンの下にあるボタンをクリックすると、アイコンを表示させるためのHTMLやCSSの内容が表示され、これらのデータをファイルとしてダウンロードすることも可能です。 実際、下のアイコンは画像ではなく空の<div>を下のCSSでアイコンとして描画しています。 .fish { width: 2.1em; height: 2.1em; position: relative; border-radius: 1.5em 0em 1.5em 0em; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -o-transform: rotate(45deg);