Add a sample code for Dropdown item.

This commit is contained in:
Arsalan 2021-12-23 19:08:14 +03:30 committed by GitHub
parent 88f03612b0
commit 3f8ca69c8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,10 @@
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/skeleton.css">
<!-- CSS
-->
<script href="js/script.js"></script>
<!-- Favicon
-->
<link rel="icon" type="image/png" href="images/favicon.png">
@ -37,6 +41,19 @@
<h4>Basic Page</h4>
<p>This index.html page is a placeholder with the CSS, font and favicon. It's just waiting for you to add some content! If you need some help hit up the <a href="http://www.getskeleton.com">Skeleton documentation</a>.</p>
</div>
<div class="one-half column" style="margin-top: 25%">
<div class="dropdown">
<button class="dropdown-button">
Click
</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="#">Option 1</a>
<a class="dropdown-item" href="#">Option 2</a>
<a class="dropdown-item" href="#">Option 3</a>
<a class="dropdown-item" href="#">Option 4</a>
</div>
</div>
</div>
</div>
</div>