x
 
1
<!DOCTYPE html>
2
<title>My Example</title>
3
4
<!-- Latest compiled and minified Bootstrap CSS -->
5
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
6
7
<style>
8
body {
9
padding-top: 1em;
10
}   
11
</style> <div class="container-fluid">
12
        
13
<div class="custom-control custom-radio">
14
  <input type="radio" id="customRadio1" name="customRadio" class="custom-control-input">
15
  <label class="custom-control-label" for="customRadio1">Boots</label>
16
</div>
17
<div class="custom-control custom-radio">
18
  <input type="radio" id="customRadio2" name="customRadio" class="custom-control-input">
19
  <label class="custom-control-label" for="customRadio2">Shoes</label>
20
</div>
21
22
</div>
23
        
24
<!-- jQuery library -->
25
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
26
27
<!-- Popper -->
28
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
29
30
<!-- Latest compiled and minified Bootstrap JavaScript -->
31
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
32
33
<!-- Initialize Bootstrap functionality -->
34
<script>
35
// Initialize tooltip component
36
$(function () {
37
  $('[data-toggle="tooltip"]').tooltip()
38
})
39
40
// Initialize popover component
41
$(function () {
42
  $('[data-toggle="popover"]').popover()
43
})
44
</script>