Today, as I was working on a web page, I decided to create a new div. I set the height and width of the div to 100px each and gave it a blue background color so that I could easily spot it while positioning it. The code for this div is as follows:
.portfoliobox {
width: 100px;
height: 100px;
background-color: blue;
}
<div class="portfoliobox">
</div>
Despite setting up the div correctly, when I previewed it, it looked like the following image:
https://i.sstatic.net/WfXsG.jpg
I have tried refreshing the page, opening a new tab, and even creating a new div, but the issue persists. It doesn't behave like a normal bug that goes away with a simple fix. Any suggestions on what could be causing this unexpected behavior?