мое фоновое изображение вообще не отображается, и я не могу его отладить. Я попытался превратить его в ID, класс и т. Д., Но ничего не работает. Есть ли что-то, чего я, очевидно, не вижу?Фон img не отображается
HTML код:
<title>Temple-Digital Designer</title>
<!--This links my bootstrap css file -->
<link rel="stylesheet" type="text/css" href="./css/bootstrap.min.css">
<!--This links my stylesheet from the css folder in portfolio-->
<link rel="stylesheet" type="text/css" href="./css/style.css">
<!--This links my jQuery file-->
<script type="text/javascript" src="./scripts/jquery-3.1.1.min.js"></script>
<div class="container-fluid header-section">
</div>
<div class="container-fluid what-i-do">
</div>
<div class="container-fluid about-me">
</div>
<div class="container-fluid contact-me">
</div>
<div class="container-fluid footer-section">
</div>
<!--Defines my javascript file(local made one) -->
<script type="text/javascript" src="./scripts/helper.js"></script>
</body>
Мой код CSS:
.header-section {
background-image: url('../img/pineapple.jpg');
width: 100%;
height: 400px;
background-repeat: no-repeat;
background-size: contain;
}
Не против библиотеки Jquery, я планировал использовать их позже с начальной загрузки.