Topic Overview and Actualization

Hello, space cadet! Are you eager to venture further into the galaxy of Responsive Design Land? We're going to master techniques such as fluid grid layouts, flexible images, viewport units, and responsive typography. Together, we'll design a stellar, device-friendly website!

Fluid Grid Layouts

Think of your layout as a chameleon, capable of adapting seamlessly to varied terrains, whether it be a vast desktop or a tiny mobile device. Fluid grid layouts morph in size as the window size fluctuates, thanks to percentage values. In this example, we divide a row into three stackable columns:

Flexible Images

Facing an alien army of screens, both big and small? Your images should be able to resize to fit on any battleground! Flexible images can adapt to any theatre, all thanks to the max-width and height: auto.

The example below rescales images based on screen size:

In the above example, images scale up or down while preserving their aspect ratio, thanks to height: auto.

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal