Bootstrap implementation on my project is causing issues with mobile view and the positioning of my div
s. Take a look at my code below:
table {
border-collapse: collapse;
margin: auto;
position: absolute;
width: 60%;
height: 60%;
table-layout: fixed;
}
td {
text-align: center;
vertical-align: middle;
font-size: 24px;
font-weight: bold;
border: 1px solid #fff;
width: calc(100% / 8);
height: calc(100% / 8);
}
th {
font-family: 'Press Start 2P', cursive, "Arial", "sans-serif";
width: 60px;
height: 60px;
font-size: 24px;
font-weight: bold;
text-align: center;
border: 1px solid #fff;
color: #fff;
}
.k{
background-color: #5f4419;
opacity: 0.9;
}
#countDiv {
margin-top: 1rem;
display: flex;
align-items: center;
text-align: center;
justify-content: flex-start;
border: 0.5rem solid darkcyan;
padding: 1.5rem;
border-radius: 1rem ;
box-shadow: 0 0 0.625rem #006d82ff;
font-family: 'Press Start 2P', cursive, "Arial", "sans-serif";
font-size: 1.125rem;
background-color: #5f4419;
color: #fff;
border-style: inset;
text-shadow: 3px 3px 0 #363434;
}
/* The rest of your CSS code goes here */
I have been struggling to make this code responsive using Bootstrap or other methods. Can anyone provide guidance on how to achieve responsiveness in this scenario?