How to realize the content of left and right sliding?

there is a div section that I want him to use when using his mobile phone.
when the content exceeds the limit of the mobile phone, it can realize left and right sliding. Is there any common way to achieve this function?
is there any common way to achieve this function? There will be no lag problems


1, do not wrap: white-space: nowrap;
2, overflow scrolling: overflow: auto;

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e473be-44c1e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e473be-44c1e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?