Why the button does not work when reducing the screen.
Here is the code:
<!DOCTYPE html> <html lang="ru"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>Bootstrap Template</title> <!-- Bootstrap --> <link href="css/bootstrap.css" rel="stylesheet"> <link href="css/style.css" rel="stylesheet"> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <div class="conteiner"> <div class="row"> <h1>Π½Π°Π·Π²Π°Π½ΠΈΠ΅ ΡΠ°ΠΉΡΠ°</h1> <div class="navbar navbar-inverse"> <div class="contentiner"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#responsive-menu"> </button> <!--<a class="navbar-brand" href="#">Π½Π°Π·Π²Π°Π½ΠΈΠ΅ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΈ</a>--> </div> <div class="collapse navbar-collapse" id="responsive-menu"> <ul class="nav navbar-nav"> <li><a href="#">ΠΏΡΠ½ΠΊΡ-1</a></li> <li><a href="#">ΠΏΡΠ½ΠΊΡ-2</a></li> <li><a href="#">ΠΏΡΠ½ΠΊΡ-3</a></li> <li><a href="#">ΠΏΡΠ½ΠΊΡ-4</a></li> </ul> </div> </div> </div> </div> </div> <div class="conteiner-fluid"> <div class="row"> <div class="col-md-6 "> <div class="row"> <div class="col-md-4"> </div> <div class="col-md-4"></div> <div class="col-md-4"></div> </div> </div> <div class="col-md-4 hidden-md visible-lg"> </div> </div> </div> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="js/bootstrap.js"></script> </body> </html>