The w3-show-block class displays an element as a block.
Click the button to show or hide the message.
Notice how the following paragraph moves when the message appears.
The w3-show-block class produces the same result as w3-show.
This message is now visible.
This paragraph follows the message.
The w3-hide class hides the message initially. JavaScript adds or removes w3-show-block when you click the button.