.wrapper vs .container

I have been us­ing class names wrap­per and con­tainer without giv­ing much thought, for many years. Kaloyan writes about their dif­fer­ences and the right way to im­ple­ment them.

I be­lieve there is a dif­fer­ence between wrap­per and con­tainer ele­ments.

In pro­gram­ming lan­guages, the word con­tainer is gen­er­ally used for struc­tures that can con­tain more than one ele­ment. A wrap­per, on the other hand, is something that wraps around a single ob­ject to provide more func­tion­al­ity and in­ter­face to it.

View link

Do you have any thoughts on this art­icle? Write to me.