Direction: Choose the correct option
Q1.
.dropdown {
position: relative;
display: inline-block;
}Why position: relative on dropdown container?Direction: Choose the correct option
Q2.
.dropdown-content {
display: none;
position: absolute;
}What does display: none initially do?Direction: Choose the correct option
Q3.
.dropdown:hover .dropdown-content {
display: block;
}What triggers the dropdown to show?Direction: Choose the correct option
Q4.
.dropdown-content a:hover {
background-color: #f1f1f1;
}What is the purpose of this CSS?Direction: Choose the correct option
Q5.
.sub-dropdown {
position: relative;
}
.sub-dropdown-content {
left: 100%;
top: 0;
}What does left: 100% accomplish?