The w3-mobile Class

The w3-mobile class adds mobile-first responsivenss to any element.

It adds display:block and width:100% to an element on screens that are less than 600px wide.

Resize the browser window to see the effect: