A laptop has a larger screen real estate than a tablet in portrait mode has a larger screen real estate than a mobile phone. An undisputed fact, right? A laptop can display animated content, but it can be difficult to scale that content to smartphone size. Problems that we encounter every day when designing for the web.
Once a specific device or a narrow viewport is recognised, content will be hidden from view. Some, but not all of these stacks offer a ‘hide-‘n-show’ function and can display an alternative stack on the excluded devices. There are, however, very few stacks that will offer more than the two options. Many of the stacks available can be added to a page more than once, so that the content of one stack can be viewed while others are hidden, but for some users this is too cumbersome.
Responder, the newest addition to DeFliGra’s range is quite unique in two aspects. Firstly, it adds two breakpoints at which it can display alternative content and secondly, it doesn’t take up half of your layout view in doing so.
Responder, once dropped onto your Stacks page, gives you three stack containers. Each container can be set to display below a specific screen width by altering the breakpoints in the HUD. The first container is entitled ‘PC’ and will display whenever the viewport is wider than the other two definitions. The second container, called ‘Tablet’ displays when the viewport is 780px wide or below, this is the width of an iPad in landscape mode. To change the width to portrait mode, you should set 640px. The third container ‘Smartphone’ is set to display at 480px and below – the width of an iPhone in portrait mode. Portrait mode would be 320px.
The three containers that Responder adds to your layout are displayed horizontally across the screen by default, but can be set to display vertically. The containers are colour coded to make them readily identifiable and they display any images contained within them at a reduced size, which you may set yourself in the HUD. This makes hiding and showing content exceptionally easy, as you can see at a glance just which combination of stacks will be displayed in which situation.
I have a couple of hide and show stacks in my arsenal. Responder is by far the easiest to use and keeps my layout screen clutter free.