Creating a responsive site.

When researching into responsive designs, it was said that images can be most problematic, therefore I decided to create a website based entirely upon images to challenge my skills

I set about creating an in browser experience to allow people to grasp the enormous size and distance of our planet and the others within the solar system.

You can see the website working at different widths here (Note how the distance between the planets gets bigger the wider the browser, this is because the bigger the planets, the distance between them also grows to stick to the actual ratios that have been worked out from nasa statistics);

Schermata 2016-01-09 alle 09.56.09Schermata 2016-01-09 alle 09.56.19

and you can visit the website and check it out yourself here;

I am aware through my research that it is important to check the different browsers, operating systems and devices to make sure my site is available to the largest possible audience.

Below is the html & css code required to make this site work;

Screen Shot 2015-10-06 at 16.26.49Screen Shot 2015-10-06 at 16.26.27Screen Shot 2015-10-06 at 16.26.03Screen Shot 2015-10-06 at 16.23.47


I have used percentages on the divs that contain the images to allow the images grow with the screen size.

Percentages have also been used for the padding between the planets, this needs to be done because as the screen sizes grow, the distance between the planets also needs to grow to stay to the correct ratio. This means the smaller the screen, the smaller the planets & distance, and the bigger the screen, the larger the planet size and distance between them.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s