Created
November 19, 2012 16:56
-
-
Save hannic/4111855 to your computer and use it in GitHub Desktop.
HTML Meta Tags for Responsive Layouts
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
@media (max-width: 767px) { | |
.container { | |
width: 100%; | |
margin-left: -20px; | |
padding-right: 20px; | |
padding-left: 20px; | |
} | |
} | |
/*==================================== PHONES ====================================================*/ | |
@media (max-width: 480px) { | |
.container { | |
width: 100%; | |
margin-left: -20px; | |
padding-right: 20px; | |
padding-left: 20px; | |
} | |
header#cc-header .span7 { | |
text-align: center; | |
} | |
header#cc-header .span5 { | |
text-align: center; | |
} | |
header#cc-header .span5 div.icons a { | |
float: none; | |
.container .top-head-social .icons { | |
margin-bottom: 10px; | |
} | |
} |
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
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta name="HandheldFriendly" content="true"> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment