以下の内容はhttps://anton0825.hatenablog.com/entry/2015/11/06/000000より取得しました。


webで丸いボタンを作る

border-radiusの値をwidth,heightの半分の値にすればいい。 例は以下。

.btn-circle {
  width: 30px;
  height: 30px;
  text-align: center;
  padding: 6px 0;
  font-size: 12px;
  line-height: 1.42;
  border-radius: 15px;
}
<a href="#" class="btn btn-default btn-circle"><i class="fa fa-user"></i></a>

参考:




以上の内容はhttps://anton0825.hatenablog.com/entry/2015/11/06/000000より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14