First page Back Continue Last page Image

The css

/* Footer */

.footer {

padding: 20px;

text-align: center;

background: #ddd;

margin-top: 20px;

}

/* Responsive layout from W3Schools- when the screen is less than 800px wide,

make the two columns stack on top of each other instead of next to each other */

@media screen and (max-width: 800px) {

.leftcolumn, .rightcolumn {

width: 100%;

padding: 0;

}

}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */

@media screen and (max-width: 400px) {

.topnav a {

float: none;

width: 100%;

}

}

Now this is sort of cool, the

@media screen in conjunction with the (max-width:800px) command is allowing you to adjust the presentation based on the size of the output device