<div class="container p-2">
  <form >
    <div class="form-check form-check-inline">
    <input class="form-check-input" type="checkbox" id="chk_red" >
    <label class="form-check-label" for="chk_red">Red</label>
    </div>
    <div class="form-check form-check-inline">
    <input class="form-check-input" type="checkbox" id="chk_green" >
    <label class="form-check-label" for="chk_green">Green</label>
    </div>
    <div class="form-check form-check-inline">
    <input class="form-check-input" type="checkbox" id="chk_blue" >
    <label class="form-check-label" for="chk_blue">Blue</label>
    </div>
  </form>
  </div>

External CSS

  1. https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css

External JavaScript

This Pen doesn't use any external JavaScript resources.