On the question of variable-width carousel, ask for help!

  node.js, question

The width of the page is 1200px, and then the width of the carousel is automatically covered with the screen. the problem now is that when the window is stretched below 1200 and scroll bars appear, the carousel will be compressed to the width of the screen instead of 1200px, so scrolling will find out how to solve this problem.


This requires a fixed container width1200pxIf the width is segmented, the container width should be fixed according to different segments.
In general, it is necessary to fix the appropriate container size.