The Responsive Design Test

It is not good enough to have a good layout on your website, if it is not functional in responsive design, your viewers won’t see what you want them to see…

Doing the media queries puts your knowledge of html and CSS to the test. It is easy (comparatively) to design a nice looking static website, but to try to take that static website and make it responsive is quite a challenge. I learned that the best way, at least in my opinion at this point, is to design the layout for a website (mobile first or vice versa), make the html and CSS coding for it, and then make the other layouts (mobile, tablet, or pc). This will help you to have html and CSS code to work with. This way, you can think of how to modify your code in the media queries to make your images and other content grow or shrink. Also, you may want to change from flex to block depending on the screen size. Block is better for mobile and flex is better for larger displays.

In the following screenshots you can see the change in the arrangements of the header contents, the size changes, and the change from flex display to block.

This is the mobile view. The header displays in block format and the images grow as the window gets bigger. The two text containers also use block display.
As the window gets to a tablet size, the header and the text containers go to a flex display. The images are also re-arranged and change in size accordingly.
at 960px and above, the content stays the same, it is a flex display and has four columns of grid display images.
At a smaller window size, the grid display was reduced to two columns. Also, the images flip when the mouse hovers over the images. On a mobile phone, the hover function is replaced by tapping the image.

Leave a Reply

Your email address will not be published. Required fields are marked *