Can somebody tell how this really funcion? Drop down | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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);

7th Dec 2016, 6:53 PM
Duperoy Dieuseul
Duperoy Dieuseul - avatar
2 Answers
+ 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.
7th Dec 2016, 7:02 PM
Nahuel
Nahuel - avatar
0
thanks,
7th Dec 2016, 8:09 PM
Duperoy Dieuseul
Duperoy Dieuseul - avatar