In my folder I have my main index.html then a css folder with all bootstrap files including my custom style.css
<!DOCTYPE html>
<html>
<head>
<title>Shehar Karachi</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div class="container_fluid main_bg">
<h2 class="red-text"> test </h2>
</div>
</body>
</html>
.main_bg{
width: 100%
height: 800px;
background: url('../images/main_bg.png');
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
background-size: cover;
background-color: #00000;
}
Why won’t it work :’(