How to use "withstand" in a sentence

Sentences

This viewport was designed to withstand everything from a gunshot to an earthquake; it was virtually inviolable.