1
Good morning, I have a dropdown menu (code below, which uses bootstrap, how do I make the background transparent, since by default it is white ? Which CSS attribute do I move ?
<html>
<head>
<!---- importações -->
</head>
<body>
<li class="dropdown nav-item">
<a data-toggle="dropdown" class="dropdown-toggle nav-link js-scroll-trigger">Clientes</a>
<ul class="dropdown-menu">
<li class="nav-item"> <a class="nav-link js-scroll-trigger" href="#"> Depoimentos </a></li>
<li class="nav-item"> <a class="nav-link js-scroll-trigger" href="#">2ª via do boleto </a></li>
<li class="nav-item"> <a class="nav-link js-scroll-trigger" href="#">Atendimento </a></li>
<li class="nav-item"> <a class="nav-link js-scroll-trigger" href="#">Seja um revendedor </a></li>
</ul>
</li>
</body>
</html>
Hi Slyfer, in this case you can only add one more class in the dropdown-menu, "Transparent" and make the change in style or even add in variables. in case it is done in its style and does not know how to create in the do variable . dropdown-menu.Transparent {} so it is not necessary to use ! Important if white color is in li use . dropdown-menu.Transparent . Nav-item {}
– Eduardo
I get it, thank you!
– user125852