CSS centering in div..for multiple screen sizes
I have a CSS element project ..centered in a div...centered in large screen. But when I go to mobile screen, it is offset to the right. Is there a special key to get this to work. Thanks. html.
3 Replies
without any code, we can only guess. Please share the html/css. (preferably via codepen)
Thanks. I will. I was just wondering if there is a universal measure for this issue.
there is... but with you saying it's offset on small screens makes us wonder what might be causing that, so seeing the code will help 🙂