1
I’m having a hard time putting some links inside another link.
For example:
#menu_header_right{
float:right;
}
.dropdown{
width:80px;
position: relative;
display: inline-block;}
.dropdown-content {
display: none;
position: absolute;
right:0px;
top:55px;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);}
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;}
.dropdown-content a:hover {
background-color: #f1f1f1;}
.dropdown:hover .dropdown-content {
display: block;}
<div id="menu_header_right">
<a class="anunciar" href="pg_anunciar.php"/>Anuciar Imóvel</a>
<a class="entrar" href="pg_logout.php"/>Logout</a>
<a id="pg_inicial_perfil" href="pg_perfil.php"/></a>
<a class="entrar" href="pg_login.php"/>Login</a>
<a class="criarconta" href="pg_cadastro_usuario.php"/>Criar Conta</a>
<div class="dropdown">
<a class="menu_header_right" href="pg_cadastro.php"/>Menu</a>
<div class="dropdown-content">
<a href="#">Link 1</a>
<a href="#">Link 2</a>
<a href="#">Link 3</a>
</div>
</div>
</div>
The idea is that when resizing the screen all the links are inside the "menu" link along with the link1, Link2 and link3. I appreciate any idea or direction.
Is it a bootstrap? Want to do some effect?
– William Aparecido Brandino
@Williamasimilar to Andino No, not very simple thing... I just need to do the same movement... Then I cake some effects....
– MagicHat