Не меняется цвет ссылок в bootstrap, что делать?

0

21 урок не bootstrap3 не работает , не меняется цвет наших ссылок в меню, что делать?

<!DOCTYPE html>
<html lang="en">
  <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 101 Template</title>

    <!-- Bootstrap -->
    <link href="assets/css/bootstrap.min.css" rel="stylesheet">

    <link href="assets/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="container-fluid">
      <div class="row">
        <nav role="navigation" class="navbar navbar-inverse" >
          <div class="container">

            <div class="navbar-header header">  

              <div class="container">

                <div class="row">

                  <div class="col-lg-12 col-lg-push-2">

                    <h1><a href="#">Filmbest</a></h1>

                    <p>Films-is our passion!</p>

                  </div>

                </div>

              </div> 

              <button type="button" data-target="#navbarCollapse" data-toggle="collapse" class="navbar-toggle">

                <span class="sr-only">Toggle navigation</span>

                <span class="icon-bar"></span>

                <span class="icon-bar"></span>

                <span class="icon-bar"></span>

              </button>
            </div>
              <div id="navbarCollapse" class="collapse navbar-collapse navbar-right">
                <ul class="nav nav-pills">
                  <li class="active"><a href="#">Main</a></li>
                  <li><a href="#">Films</a></li>
                  <li><a href="#">Serials</a></li>
                  <li><a href="#">Film rate</a></li>
                  <li><a href="#">Contacts</a></li>
              </ul>

            </div>
          
          </div>
         </nav>
      </div>
    </div>
    <!-- jQuery (necessary for Bootstrap's JavaSript plugins) -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="assets/js/bootstrap.min.js"></script>
  </body>
</html>​
.header a, a:hover {
color:#f0ad4e;
text-decoration-:none;
}
.header h1{
	letter-spacing: 15px;
	[font-size: 300%;
}
.header p{
	color:white !important;
	font-size: 90%;
	letter-spacing: 3px;
}
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
   	color:#fff;
    background-color: #346270;
}
.nav-pills>li>a {
    color: #fff  ;
}
bootstrap

2 ответов

0

Вижу лишнюю квадратную скобку в css - [font-size: 300%;

.header h1{
	letter-spacing: 15px;
	[font-size: 300%;
}

0

Исправил , спасибо 

Sign up or Log in to write an answer