Commit ccecb7cd authored by Mark Otto's avatar Mark Otto
Browse files

fixes #14654: callout for scrollspy-nav link

parent 5cba9ba5
4 merge requests!28721Hot test,!16605Test pull please ignore,!22103test,!25326Adjust examples
Showing with 5 additions and 0 deletions
+5 -0
......@@ -51,6 +51,11 @@
<h2 id="scrollspy-usage">Usage</h2>
<div class="bs-callout bs-callout-warning">
<h4>Requires Bootstrap nav</h4>
<p>Scrollspy currently requires the use of a Bootstrap nav component for proper highlighting of active links.</p>
</div>
<h3>Requires relative positioning</h3>
<p>No matter the implementation method, scrollspy requires the use of <code>position: relative;</code> on the element you're spying on. In most cases this is the <code>&lt;body&gt;</code>.</p>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment