<script src="https://cdnjs.cloudflare.com/ajax/libs/chardin.js/0.1.3/chardinjs.min.js"></script>
<!DOCTYPE html>
<html>
<body>
<button class="chardinjs-button" type="button">
Show coach marks
</button>
<div class="div-container">
<div class="first-parent parent-div">
<div class="first-child child-div" data-intro="The element is highlighted.">
This is the default case of a child div within a parent div: position and z-index are the defaults.
</div>
</div>
<div class="second-parent parent-div">
<div class="second-child child-div" data-intro="The element isn't highlighted.">
The parent element has an explicit z-index.
</div>
</div>
<div class="third-parent parent-div">
<div class="third-child child-div" data-intro="The element isn't highlighted.">
The child element has an explicit z-index.
</div>
</div>
<div class="fourth-parent parent-div">
<div class="fourth-child child-div" data-intro="The element is highlighted.">
The parent element has position: absolute.
</div>
</div>
<div class="fifth-parent parent-div">
<div class="fifth-child child-div" data-intro="The element isn't highlighted, and the coach mark scrolls relative to the element.">
The parent element has position: fixed.
</div>
</div>
</div>
</body>
</html>