My CSS code currently looks like this:
#FSBDiv-Inner {
position: fixed;
top: 20%;
left: 25%;
width: 50%;
z-index: 999;
display: flex;
justify-content: center;
background-color: white;
}
However, for mobile devices, I need to adjust it to the following:
#FSBDiv-Inner {
position: fixed;
top: 20%;
width: 100%;
z-index: 999;
display: flex;
justify-content: center;
background-color: white;
}
Can anyone guide me on how to make these changes dynamically based on screen resolution?