cssのみで スマートフォン アイコンを作成してみました。微妙です・・・
ソース
html
<div class="smartphone"></div>
css
/* モニタ */
.smartphone {
font-size: 100px;
position: relative;
width: 0.8em;
height: 1.4em;
border: 0.1em solid #39a9d6;
border-radius: 0.1em;
}
/* ボタン */
.smartphone::before {
content: "";
position: absolute;
top: 1.1em;
left: -0.05em;
width: 0.2em;
height: 0.2em;
border-top: 0.1em solid #39a9d6;
border-bottom: 0.1em solid #39a9d6;
border-left: 0.35em solid #39a9d6;
border-right: 0.35em solid #39a9d6;
border-radius: 0 0 0.1em 0.1em;
}
/* ボタン背景 */
.smartphone::after {
content: "";
position: absolute;
top: 1.1em;
left: 0.2em;
width: 0.2em;
height: 0.2em;
border: 0.1em solid #39a9d6;
border-radius: 100%;
}

