I'm working on a new design and have been stuck on a design aspect which appears to only be fixed with some connection to the css attribute overflow, that or some form of javascript.
This is how my site boxes would normally look:
But if a screen is too small, this is how it looks:
So would it be better to fix this problem with css or javascript?
You can fix this by updating the CSS file code, Please check the CSS float change for mobile size in the below link.
I don't know exactly where your problem because your not post your code/fiddle/website. But it be better to fix your problem using CSS, because it happen to your style. Try to make different style on different size screen. hope this link help you CSS Media Screen
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.