I have been implementing a media query in my CSS to improve the responsiveness of my website, but it seems like the design is still not looking right. Is there a technique available to first detect the browser width and then serve different index files accordingly?
Below is the code snippet of the media query I am using:
@media screen and (max-width: 600px) {
.topbar{
opacity: 0;
}
....
}