0
Some CSS commands are not working.
Follow the commands:
HTML
<section class="menu-departamentos"><!-- inicio .menu-departamentos -->
<h2>Departamentos</h2>
<nav>
<ul>
<li><a href="#">Blusas e Camisas</a></li>
<ul>
<li><a href="#">Manga curta</a></li>
<li><a href="#">Manga cumprida</a></li>
<li><a href="#">Camisa social</a></li>
<li><a href="#">Camisa casual</a></li>
</ul>
<li><a href="#">Calças</a></li>
<li><a href="#">Saias</a></li>
<li><a href="#">Vestidos</a></li>
<li><a href="#">Sapatos</a></li>
<li><a href="#">Bolsas e Carteiras</a></li>
<li><a href="#">Acessórios</a></li>
</ul>
</nav>
</section><!-- fim .menu-departamentos -->
CSS
a[href^=http://]:after {
content: '(externo)';
}
li ul {
display: none;
}
You don’t do what you’re supposed to do, I can put color:red;
the second nothing happens.
Nothing I put between keys works with the li ul
separated by space, only works if I separate them by comma li,ul
.
Can anyone tell me why?
I’ve tested with Chrome and Sapphire, both updated.
I use the Sublime Text.
Goal
Remove the submenu of Blouses and Shirts using display:none;
in the CSS
Post HTML too. But then, it’s wrong.
– Diego Souza
@Diegosouza I put the HTML and a few more explanations, if you can help me, I appreciate.
– Nicolas Guilherme Matheus