An example for off canvas elements adapting to screen size