DEV Community

Utpal Kumar
Utpal Kumar

Posted on

container vs container-sm class

If both container vs container-sm classes have identical functional behavior, why there are two classes? or is there any difference? I could see they both remains 100% at extra small and adjust their width as per breakpoints. like 540px, 720px, 960px and so on.

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay