ungleich-staticcms/assets/u/static/popper.js-1.16.0/docs/_includes/example50.html
Nico Schottelius 16fb2bb919 import popper.js
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2019-12-31 01:21:21 +01:00

18 lines
511 B
HTML
Executable file

<div class="rel" id="example5reference1">
<p class="bold">Pop</p>
<p class="thin">on the bottom</p>
</div>
<div class="popper" id="example5popper1">
<p class="bold">Popper on bottom</p>
<p class="thin">Flips when hits viewport</p>
<div class="popper__arrow" x-arrow></div>
</div>
<script>
document.addEventListener('DOMContentLoaded', function(){
var pop1 = new Popper(example5reference1, example5popper1, {
placement: 'bottom'
});
}, false);
</script>