My menu is as follows:
<html>
<head>
<title>Menu Desplegable</title>
<style type="text/css">
* {
margin:0px;
padding:0px;
}
#header {
margin:auto;
width:500px;
font-family:Arial, Helvetica, sans-serif;
}
ul, ol {
list-style:none;
}
.nav > li {
float:left;
}
.nav li a {
background-color:#000;
color:#fff;
text-decoration:none;
padding:10px 12px;
display:block;
}
.nav li a:hover {
background-color:#434343;
}
.nav li ul {
display:none;
position:absolute;
min-width:140px;
}
.nav li:hover > ul {
display:block;
}
.nav li ul li {
position:relative;
}
.nav li ul li ul {
right:-140px;
top:0px;
}
</style>
</head>
<body>
<div id="header">
<ul class="nav">
<li><a href="">...</a>
<ul>
<li><a href="">Descargar</a></li>
<li><a href="">Play</a></li>
</ul>
</li>
</ul>
</div>
</body>
But I would like the menu to be shown as follows:
That is, by clicking on the three dots (...) the menu is shown above and not below, how can I modify my css to achieve it?