UNPKG

foundation-sites

Version:

The most advanced responsive front-end framework in the world.

57 lines (53 loc) 2.08 kB
<!doctype html> <!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]--> <html class="no-js" lang="en" dir="ltr"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> <title>Foundation for Sites Testing</title> <link href="../assets/css/foundation.css" rel="stylesheet" /> </head> <body> <div class="grid-container"> <div class="grid-x grid-padding-x"> <div class="cell"> <h1>Dropdown: Long Content</h1> <p>This dropdown should not go full-width, even if its contents are higher than the width of the window.</p> <button class="button" type="button" data-toggle="example-dropdown">Toggle Dropdown</button> <div class="dropdown-pane" id="example-dropdown" data-dropdown data-auto-focus="true"> <p>This is a dropdown.</p> <p>This is a dropdown.</p> <p>This is a dropdown.</p> <p>This is a dropdown.</p> <p>This is a dropdown.</p> <p>This is a dropdown.</p> <p>This is a dropdown.</p> <p>This is a dropdown.</p> <p>This is a dropdown.</p> <p>This is a dropdown.</p> <p>This is a dropdown.</p> <p>This is a dropdown.</p> <p>This is a dropdown.</p> <p>This is a dropdown.</p> <p>This is a dropdown.</p> <p>This is a dropdown.</p> <p>This is a dropdown.</p> <p>This is a dropdown.</p> <p>This is a dropdown.</p> <p>This is a dropdown.</p> <p>This is a dropdown.</p> <p>This is a dropdown.</p> <p>This is a dropdown.</p> <p>This is a dropdown.</p> </div> </div> </div> </div> <script src="../assets/js/vendor.js"></script> <script src="../assets/js/foundation.js"></script> <script> $(document).foundation(); </script> </body> </html>