JSFiddle - React, Tailwind, and code Playground

Fliplet Popover - Bootstrap

by Hugo Carneiro

HTML

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<section class="widget-interface animated slideInRight-slideOutRight-transition">
  <div class="iframe-wrapper">
    <iframe src="https://yuche.github.io/vue-strap/#popover"></iframe>
  </div>
  <footer>
    <a tabindex="0" role="button" data-toggle="popover" data-trigger="focus" data-placement="top" title="Dismissible popover" data-content="And here's some amazing content. It's very engaging. Right?" class="btn btn-primary" id="save-btn">Save &amp; Close</a>
    <a class="btn btn-secondary">Cancel</a>
  </footer>
</section>

CSS

.widget-interface {
  position: absolute;
  z-index: 1;
  height: 600px;
  width: 400px;
  padding: 15px;
  background-color: #f2f6f7;
  border-left: 1px solid #e4e9eb;
  box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.3);
}

.widget-interface .iframe-wrapper {
  position: absolute;
  top: 15px;
  right: 15px;
  bottom: 54px;
  left: 15px;
}

.widget-interface .iframe-wrapper iframe {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: none;
}

.widget-interface footer {
  background-color: #f2f6f7;
  border-top: 1px solid #d9ddde;
  padding: 1rem 15px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

JavaScript

$('#save-btn').popover();