Regrettably, my CSS and HTML skills are lacking, so I can't seem to understand why my webpage is displaying like this:
https://i.sstatic.net/Ow80q.png
You'll notice there's a lot of white space when the background should actually be black.
CSS:
#page {
height:100%;
background-color:rgb(1, 0, 1);
}
.card {
margin: 0 auto; /* Added */
float: none; /* Added */
margin-bottom: 10px; /* Added */
margin-top: 10px; /* Added */
}
HTML:
<div id="page">
<div class="container">
<div class="row">
<div class="card">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
</div>
</div>
I've implemented Bootstrap in order to ensure mobile-friendliness, but for some reason it's just not cooperating.