Despite my efforts in the CSS file, I am still struggling to get the container to take up the full width on mobile devices. Here is my CSS code:
@media (max-device-width: 1024px) {
.col-sm-2{
width: 100%;
}
.container {
margin: 0 auto;
width: 100%;
}
.col-sm-10 {
width: 100%;
}
}
Here is the HTML code:
<div class="container">
<h1 >Profile</h1>
</div>
Any suggestions on how to resolve this issue?