mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-12 00:08:59 +01:00
45 lines
1.7 KiB
HTML
45 lines
1.7 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
|
<title>Popover</title>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1>Popover <small>Bootstrap Visual Test</small></h1>
|
|
|
|
<button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="top" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">
|
|
Popover on top
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="right" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">
|
|
Popover on right
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="bottom" data-content="Vivamus
|
|
sagittis lacus vel augue laoreet rutrum faucibus.">
|
|
Popover on bottom
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="left" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">
|
|
Popover on left
|
|
</button>
|
|
</div>
|
|
|
|
<script src="../vendor/jquery.min.js"></script>
|
|
<script src="../vendor/tether.min.js"></script>
|
|
<script src="../../dist/util.js"></script>
|
|
<script src="../../dist/tooltip.js"></script>
|
|
<script src="../../dist/popover.js"></script>
|
|
|
|
<script>
|
|
$(function () {
|
|
$('[data-toggle="popover"]').popover()
|
|
})
|
|
</script>
|
|
</body>
|
|
</html>
|