Skip to content

Commit

Permalink
Create dropdownhover.html
Browse files Browse the repository at this point in the history
  • Loading branch information
ehasnain authored Feb 3, 2018
1 parent 8e014a2 commit 66bd98b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions dropdownhover.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<style type="text/css">.dropdown2 {
position: relative;
display: inline-block;
}

.dropdown-content2 {
display: none;
border-radius: 5px;
position: relative;
background-color: #00a7dbf2;
box-shadow: 0px 8px 8px 0px rgba(0,0,0,0.2);
z-index: 1;
}

.dropdown-content2 a {
color: black;
text-decoration: none;
display: block;
}

.dropdown-content2 a:hover {background-color: #00f1f1f1}

.dropdown2:hover .dropdown-content2 {
display: block;
}

0 comments on commit 66bd98b

Please sign in to comment.