close Home Video Science Nature Amezing Weird About us Contact us
  • Follow us
  • ☰

    Sunday, May 21, 2017

    The .dropdown-content class holds the actual dropdown menu.

    Unknown
    We have styled the dropdown button with a background-color, padding, etc.

    The .dropdown class use position:relative, which is needed when we want the dropdown content to be placed right below the dropdown button (using position:absolute).

    The .dropdown-content class holds the actual dropdown menu.
    It is hidden by default, and will be displayed on hover (see below). Note the min-width is set to 160px. Feel free to change this. Tip: If you want the width of the dropdown content to be as wide as the dropdown button, set the width to 100% (and overflow:auto to enable scroll on small screens).

    Instead of using a border, we have used the box-shadow property to make the dropdown menu look like a "card". We also use z-index to place the dropdown in front of other elements.

    The :hover selector is used to show the dropdown menu when the user moves the mouse over the dropdown button.

    Unknown / Author & Editor

    There is many things in the world that you never knew existed. We discuss about Top 10 amazing, unbelievable wonders of different topics.

    0 comments:

    Post a Comment

    Coprights @ 2017, Blogger Template, Wonders of the World | Wonder360d, a Baula Production