Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- header h1, header p{display:none;}
- header>div {
- padding: 50% 0;
- background-color: #f5f5f5;}
- nav ul {margin: 0; padding: 0;}
- nav a {
- display: block;
- padding: 15px 0;
- text-align: center;
- text-decoration: none;
- color: white;
- background: #66cca8;
- border-bottom: 4px solid #fff;
- text-transform: uppercase;}
- nav a:hover,nav a:visited { color: white;}
- nav a:hover { text-decoration: underline;}
- /* ==========================================================================
- Media Queries
- ========================================================================== */
- @media screen and (min-width: 480px) {
- nav>ul>li {
- display:block;
- float: left;
- width:25%;
- padding: 10px 0; }
- nav>ul>li>a {
- vertical-align:middle;
- border:0;
- border-right: 2px solid #fff; }
- nav li:last-child a { border-right: 0; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement