Quantcast
Channel: プログラム の個人的なメモ
Viewing all articles
Browse latest Browse all 860

【CSS】 CSSフレームワーク / Bootstrap ~ ボタン / アイコン 編 ~

$
0
0

サンプル

<!DOCTYPE html>
<html lang="jp">
  <head>
    <meta charset="utf-8">
    <title>Bootstrap 101 Template</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- Bootstrap -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous">
  </head>
  <body>

    <!-- アイコン -->
    <i class="glyphicon glyphicon-envelope"></i>
    <i class="glyphicon glyphicon-trash"></i>
    
    <!-- ボタン -->
    <a class="btn" href="#">Default</a>
    <a class="btn btn-primary" href="#">Primary</a>
    <a class="btn btn-info" href="#"><i class="glyphicon glyphicon-info-sign"></i> Info</a>
    <div class="btn-group">
      <a class="btn btn-success" href="#">Success</a>
      <a class="btn btn-warning" href="#">Warning</a>
      <a class="btn btn-danger" href="#">Danger</a>
    </div>
    
    <script src="http://code.jquery.com/jquery.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js" integrity="sha512-K1qjQ+NcF2TYO/eI3M6v8EiNYZfA95pQumfvcVrTHtwQVDG+aHRqLi/ETn2uB+1JqwYqVG3LIvdm9lj6imS/pQ==" crossorigin="anonymous"></script>
  </body>
</html>

関連記事

アイコン を 表示する ~ Font Awesome ~

http://blogs.yahoo.co.jp/dk521123/35506135.html

Viewing all articles
Browse latest Browse all 860

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>