Skip to content

.wrapper vs .container

I have been using class names wrapper and container without giving much thought, for many years. Kaloyan writes about their differences and the right way to implement them.

I believe there is a difference between wrapper and container elements.

In programming languages, the word container is generally used for structures that can contain more than one element. A wrapper, on the other hand, is something that wraps around a single object to provide more functionality and interface to it.

Direct link

I’m available for new projects from February 2022.

Get in touch