Saturday, March 11, 2023
HomeCSShtml - Exactly how to transform among the food selection choices right...

html – Exactly how to transform among the food selection choices right into a dropdown food selection


 dropbtn {
background-color: # 04AA6D;
shade: white;
cushioning: 16px;
font-size: 16px;
boundary: none;
}

/ * The container << div> > - required to place the dropdown web content */
. dropdown {
setting: loved one;.
display screen: inline-block;.
}

/ * Dropdown Web Content (Concealed by Default) */
. dropdown-content {
display screen: none;.
setting: outright;.
background-color: #f 1f1f1;.
min-width: 160px;.
box-shadow: 0px 8px 16px 0px rgba( 0,0,0,0.2);.
z-index: 1;.
}

/ * Hyperlinks inside the dropdown */
. dropdown-content {a shade: black;.
cushioning: 12px 16px;.
text-decoration: none;.
display screen: block;.
}

/ * Adjustment shade of dropdown web links on float */
. dropdown-content a: float {background-color: #ddd;}

/ * Program the dropdown food selection on hover */
. dropdown: hover.dropdown-content {display screen: block;}

/ * Adjustment the history shade of the dropdown switch when the dropdown web content is revealed */
. dropdown: hover.dropbtn {background-color: # 3e8e41;} 

.

RELATED ARTICLES

Most Popular

Recent Comments