/* Nav retratil */
/*=================*/
#something,
nav ul li, inputr,
nav ul input:checked ~li label.abrir {
display:none;
}
nav ul input:checked ~li,
nav ul li.fixo, li.abrir {
display: block;
}
nav ul li label {
color: red;
font-weight: 900;
margin-left: 110px;
cursor: pointer;
}
nav ul li label.abrir {
align:right;
cursor: copy;
}
<html>
<body>
<nav>
<ul>
<input type="checkbox" id="something">
<li class="fixo">
<a class="textoimpressao" href="#textoimpressao"> Texto para impressão </a>
</li>
<li class="fixo">#1</li>
<li class="fixo">#2</li>
<li>#3</li>
<li>#4</li>
<li>#5</li>
<li>#6</li>
<li>#7</li>
<li>#8</li>
<li class="fixo">
<label for="something" class="abrir"> Ver mais ↡ </label>
</li>
<li>
<label for="something"> Ocultar ↟ </label>
</li>
<li>#9</li>
<li>#10</li>
<li>#11</li>
<li>#12</li>
</ul>
</nav>
</body>
</html>
In the