"Circle Button"
Bootstrap 4.0.0 Snippet by SrJuggernaut

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <h4>.btn-circle .btn-sm</h4> <button type="button" class="btn btn-facebook btn-circle btn-sm"><i class="fa fa-facebook"></i></button> <button type="button" class="btn btn-twitter btn-circle btn-sm"><i class="fa fa-twitter"></i></button> <button type="button" class="btn btn-dropbox btn-circle btn-sm"><i class="fa fa-dropbox"></i></button> <button type="button" class="btn btn-github btn-circle btn-sm"><i class="fa fa-github"></i></button> <button type="button" class="btn btn-google btn-circle btn-sm"><i class="fa fa-google"></i></button> <button type="button" class="btn btn-vk btn-circle btn-sm"><i class="fa fa-vk"></i></button> <h3>.btn-circle</h3> <button type="button" class="btn btn-default btn-circle"></button> <button type="button" class="btn btn-primary btn-circle"></button> <button type="button" class="btn btn-success btn-circle"></button> <button type="button" class="btn btn-info btn-circle"></button> <button type="button" class="btn btn-warning btn-circle"></button> <button type="button" class="btn btn-danger btn-circle"></button> <h2>.btn-circle .btn-lg</h2> <button type="button" class="btn btn-default btn-circle btn-lg"></button> <button type="button" class="btn btn-primary btn-circle btn-lg"></button> <button type="button" class="btn btn-success btn-circle btn-lg"></button> <button type="button" class="btn btn-info btn-circle btn-lg"></button> <button type="button" class="btn btn-warning btn-circle btn-lg"></button> <button type="button" class="btn btn-danger btn-circle btn-lg"></button>
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'); @import url('https://cdnjs.cloudflare.com/ajax/libs/bootstrap-social/5.1.1/bootstrap-social.min.css'); body{ padding:40px; font-size:16px; } .btn-circle.btn-sm { width: 2em; height: 2em; text-align: center; line-height: 2px; border-radius: 50%; } .btn-circle { width: 2.5em; height: 2.5em; font-size: 18px; line-height: 2px; border-radius: 50%; } .btn-circle.btn-lg { width: 3em; height: 3em; line-height: 1.33; border-radius: 35px; font-size:1.1em; }

Related: See More


Questions / Comments: