Users can access an apartment search application from different devices with different screen sizes. A screen displays the photos of available properties. On a wide desktop screen, the photos are displayed in an inline format. On a smart phone, the photos should be displayed in a vertical stack.
How do you implement the screen for this requirement?