1
I’m using a bootstrap navigation bar and would like to increase the space between the buttons and change their colors by editing files from an external file, but I don’t know where I can get his css code (it’s my first time using bootstrap)...
HTML is like this:
<!DOCTYPE html>
<html lang="en" dir="ltr">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<head>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">titulo</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item ">
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
</li>
</ul>
<form class="form-inline my-2 my-lg-0">
<button class="btn btn-outline-success my-2 my- sm-0" type="submit">BOTAOA</button>
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">BOTAOB</button>
</form>
</div>
</nav>
</head>
<body>
</body>
</html>
It usually stays inside the bootstrap folder, but precisely in the css folder and in the bootstrap.min.css or bootstrap.css. It depends on which of the two files you are calling.
– Gato de Schrödinger
is that I didn’t download anything to use, I just used the reference link... I’ll try to download the files and see if it works
– joão
But I didn’t get it right. All these changes you quoted, you can make using bootstrap classes.
– Gato de Schrödinger