Created
June 21, 2019 06:46
-
-
Save michaels123/f05ce1217c88845f24d942dbf29d783a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
box-sizing: border-box; | |
padding: 0; | |
margin: 0; | |
word-wrap: break-word; | |
} | |
header, nav, article, footer { | |
width: 100%; | |
background-color: cyan; | |
padding: 25px; | |
border: solid 2px firebrick; | |
} | |
img { | |
max-width: 100%; | |
height: auto; | |
} | |
@media only screen and (min-width: 768px){ | |
nav { | |
width: 30%; | |
float: left; | |
} | |
article { | |
width: 70%; | |
float: left; | |
} | |
#container { | |
width: 70%; | |
margin: auto; | |
} | |
footer { | |
clear: both; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment