RWDHTMLCSS.COM

Html & CSS Walkthrough

Previous Home Table of Contents Next

Our Mobile CSS Sheet

We better get our mobile sheet going. I copied my mobile sheet on to here. Have a look through there and I will explain at bottom. When the users screen is 999px or less, this sheet will be applied causing the page to display better. This needs to go on a blank sheet and saved as ourmobile.css

Also, A big accomplishment. CONGRATULATIONS!! This is the last page for our template. After you are done this page, save it as a template and you can copy and paste it to as many new pages as you want. I think it is a nice easy template. Now the main concentration can be to put content on it.

When done this page, click the link at the bottom and collapse your browser to see what happens when the screen gets narrow.

Mobile Sheet

body {
}
#wrapper {
width:100%;
}
header {
width:100%;
}
.navbar a {
float:none;
display:block;
width:100%;
border-bottom:solid 2px black;
box-sizing:border-box;
}
article a {
font-size:16pt;
width:100%;
}
article {
width:100%;
}
footer {
width:100%;
}
h1 {
font-size:150%;
}
h2 {
font-size:125%;
}
h3 {
font-size:110%;
}
* {
word-wrap:break-word;
}

To see what it looks like so far Click Here(opens a new window) and then collapse your browser to see the mobile styling.

Previous Home Table of Contents Next