bootstrap 28 урок

1

Здравствуйте, не прижимется footer, и не задаются стили к нему

html 

<!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</title>

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


<!--- Main style -->
<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="header">
<div class="logo">
<div class="logo-text">
<h1><a href="#">CinemaSearche</a></h1>
<p>Кино - для всех!</p>
</div>
</div>
</div>


<div class="navbar-header">
<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="#">Главная</a></li>
<li><a href="#">Фильмы</a></li>
<li><a href="#">Сериалы</a></li>
<li><a href="#">Рейтинг фильмов</a></li>
<li><a href="#">Контакты</a></li>
</ul>
</div>
</div>
</nav>
</div>
</div>


<div class="wrapper">
<div class="container">
<div class="row">
<div class="col-lg-9 col-lg-push-3">
jdgjdhgjdgjd
</div>
<div class="col-lg-3 col-lg-pull-9">
ghghg
</div>
</div>
</div>
<div class="clear"></div>
</div>


<footer>
<div class="container">
<p class="text-center"> <a href="CinemaSearche">CinemaSearche</a> </p>
</div>
</footer>

<!-- jQuery (necessary for Bootstrap's JavaScript 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>

css


.header a, a:hover{
color: black;
text-decoration: none;
}

.header h1{
font-size: 30px;
letter-spacing: 0.2em;
}

.header p{
color: black !important;
font-size: 13px;
letter-spacing: 4px;
}

.navbar>li.active>a, .nav>li.active>a:focus, .nav>li.active>a:hover{
color: black;
text-decoration: none;
}

.nav-pills>li>a{
color: black;
}

.nav-pills>li>a:hover{
background-color: darkorange;
}

.navbar-inverse{
background-color: #4edacd;
padding: 1%;
}

@media (max-width: 767px) {
.nav-pills>li{
float: none;
}

.nav-pills>li>a{
text-align: center;
}

.header h1{
font-size: 200%;
letter-spacing: 5px;
}

.header{
text-align: center;
}

.clear{
clear: both;
height: 63px;
}

.wrapper{
min-height: 100%;
}

html, body{
height: 100%;
}

footer{
color: black;
background-color: skyblue;
padding: 17px 0 18px 0;
border-top: 1px solid black;
}

footer a{
color: black;
}

footer a:hover{
color: darkorange;
}

bootstrap

1 ответов

2

Извиняюсь, разобрался)

Sign up or Log in to write an answer