<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container">
<div class="row">
<h2>Bootstrap Ribbon Buttons</h2>
</div>
<div class="row">
<div class="col-md-6"> <!-- Standard button -->
<button type="button" class="btn btn-default ribbon">Default</button>
<!-- Provides extra visual weight and identifies the primary action in a set of buttons -->
<button type="button" class="btn btn-primary ribbon">Primary</button>
<!-- Indicates a successful or positive action -->
<button type="button" class="btn btn-success ribbon">Success</button>
<!-- Contextual button for informational alert messages -->
<button type="button" class="btn btn-info ribbon">Info</button>
<!-- Indicates caution should be taken with this action -->
<button type="button" class="btn btn-warning ribbon">Warning</button>
<!-- Indicates a dangerous or potentially negative action -->
<button type="button" class="btn btn-danger ribbon">Danger</button>
<!-- Deemphasize a button by making it look like a link while maintaining button behavior -->
</div>
<div class="col-md-3 "> <!-- Standard button -->
<button type="button" class="btn btn-default ribbon">Default</button>
<!-- Provides extra visual weight and identifies the primary action in a set of buttons -->
<button type="button" class="btn btn-primary ribbon">Primary</button>
<!-- Indicates a successful or positive action -->
<button type="button" class="btn btn-success ribbon">Success</button>
<!-- Contextual button for informational alert messages -->
<button type="button" class="btn btn-info ribbon">Info</button>
<!-- Indicates caution should be taken with this action -->
<button type="button" class="btn btn-warning ribbon">Warning</button>
<!-- Indicates a dangerous or potentially negative action -->
<button type="button" class="btn btn-danger ribbon">Danger</button>
<!-- Deemphasize a button by making it look like a link while maintaining button behavior -->
</div>
<div class="col-md-2 pull-right"> <!-- Standard button -->
<button type="button" class="btn btn-default ribbon">Default</button>
<!-- Provides extra visual weight and identifies the primary action in a set of buttons -->
<button type="button" class="btn btn-primary ribbon">Primary</button>
<!-- Indicates a successful or positive action -->
<button type="button" class="btn btn-success ribbon">Success</button>
<!-- Contextual button for informational alert messages -->
<button type="button" class="btn btn-info ribbon">Info</button>
<!-- Indicates caution should be taken with this action -->
<button type="button" class="btn btn-warning ribbon">Warning</button>
<!-- Indicates a dangerous or potentially negative action -->
<button type="button" class="btn btn-danger ribbon">Danger</button>
<!-- Deemphasize a button by making it look like a link while maintaining button behavior -->
</div>
</div>
</div>