Why doesn't the drop down menu?

0 like 0 dislike
6 views
Can't find the error, so drop down menu is not working. Help her to find
services and prices

check out
on the measurement

furnace installation
the property's baths and sauna

furnace installation
in the house

installation
fireplace

installation
BBQ

installation
chimney

shipping
materials

about usour workblogcontacts

.menu{ position: relative; width: 100%; height: 60px; border-top: 1px solid #f2f2f2; border-bottom: 1px solid #f2f2f2; } .topmenu{ text-align: center; } .topmenu li{ font-size: 21px; display: inline-block; text-decoration: none; text-transform: uppercase; padding: 20px; list-style-type: none; } .submenu{ position: absolute; top: 65px; left: 0; display: none; width: 100%; height: 100%; background: #f2f2f2; z-index: 1000; } .topmenu li:hover.submenu{ display: block; }
by | 6 views

1 Answer

0 like 0 dislike
Try this:
.topmenu li:hover .submenu{ display: block; }


you missed a space
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Sep 3, 2019 by HelpSophie
0 like 0 dislike
1 answer
asked Aug 5, 2019 by HelpSophie
110,608 questions
257,186 answers
0 comments
33,905 users