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-controls-stacked">
14
<label class="custom-control custom-radio">
15
<input id="radioStacked1" name="radio-stacked" type="radio" class="custom-control-input">
16
<span class="custom-control-indicator"></span>
17
<span class="custom-control-description">Boots</span>
18
</label>
19
<label class="custom-control custom-radio">
20
<input id="radioStacked2" name="radio-stacked" type="radio" class="custom-control-input">
21
<span class="custom-control-indicator"></span>
22
<span class="custom-control-description">Shoes</span>
23
</label>
24
</div>
25
26
</div>
27
        
28
<!-- jQuery library -->
29
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
30
31
<!-- Popper -->
32
<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>
33
34
<!-- Latest compiled and minified Bootstrap JavaScript -->
35
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
36
37
<!-- Initialize Bootstrap functionality -->
38
<script>
39
// Initialize tooltip component
40
$(function () {
41
  $('[data-toggle="tooltip"]').tooltip()
42
})
43
44
// Initialize popover component
45
$(function () {
46
  $('[data-toggle="popover"]').popover()
47
})
48
</script>