In W3.CSS, a panel is very similar to a container but with a great difference: Panels do have a margin of 16px in the top and bottom. Note that containers didn’t had margins. They only had padding of 16px in the left and right. We simply add a class w3-panel along with a colour to the <div> tag.
India
India is a great country. Geographically it is located in South Asia.
Here, the class w3-panel makes a panel and, the class w3-indigo puts an indigo background to the div.
Output:
Here, serif means to the font with fine edges like ‘ T ’. w3-leftbar creates a gray left-bar and w3-xlarge makes it thick.
Output:
India
India is a great country. Geographically it is located in South Asia.
Cards appear with a general shadow. Here 4 is a shadow parameter. 2 will make a little smaller shadow.
Output:
India
India is a great country. Geographically it is located in South Asia.
The size parameters in w3-round-size are-
Output: