0
Can somebody tell how this really funcion? Drop down
<!DOCTYPE html> <head> <style type="text/css"> /* Style The Dropdown Button */ .dropbtn { background-color: #4CAF50; color: white; padding: 16px; font-size: 16px; border: none; cursor: pointer; } /* The container <div> - needed to position the dropdown content */ .dropdown { position: relative; display: inline-block; } /* Dropdown Content (Hidden by Default) */ .dropdown-content { display: none; position: absolute; background-color: #f9f9f9; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
2 Antworten
+ 3
It's a style that works when you hover your mouse on the element.
It's shows you like a list/menu, and when you put your mouse up the element, it "drop" the options.
0
thanks,