html - Footer code not showing 3px border on top and not allowing added space on top of text -
i have used new hamburger menu had added top of page. footer not showing 3px border , cannot add space top of text.
html5 hamburger menu opens whole page has separate style sheet not effect:
<div class="overlay"> <div class="wrap"> <ul class="wrap-nav"> <li><h1>about</h1> <ul> <li><a href="#">athena</a></li> </ul> </li> <li><h1>illustration projects</h1> <ul> <li><a href="#">the knowing</a></li> <li><a href="#">save world</a></li> <li><a href="#">henrietta lacks</a></li> <li><a href="#">the new yorker</a></li> <li><a href="#">myths</a></li> <li><a href="#">drawing laurel</a></li> <li><a href="#">the goonies</a></li> <li><a href="#">alice in wonderland</a></li> <li><a href="#">history behind forbidden symbol</a></li> </ul> </li> <li><h1>graphic design projects</h1> <ul> <li><a href="#">experimental designs</a></li> <li><a href="#">watch designs</a></li> <li><a href="#typography">typography</a></li> <li><a href="#">hq creative</a></li> </ul> </li> <li><h1>web design projects</h1> <ul> <li><a href="#web">web sites</a></li> <li><a href="#">wireframes</a></li> <li><a href="#mockups">mockups</a></li> </ul> </li> </ul> <div class="social"> <a href="#"> <div class="social-icon"> <i class="fa fa-linkedin"></i> </div> </a> <a href="https://twitter.com/vegan_nc" target="_blank"> <div class="social-icon"> <i class="fa fa-twitter"></i> </div> </a> <!--<a href="#"> <div class="social-icon"> <i class="fa fa-codepen"></i> </div> </a>--> <!--<a href="#"> <div class="social-icon"> <i class="fa fa-behance"></i> </div> </a>--> <!--<a href="#"> <div class="social-icon"> <i class="fa fa-dribbble"></i> </div> </a>--> </div> </div> </div>
css menu, don't see interacts footer:
ul { margin:0; padding:0; text-decoration:none; list-style:none; } li { padding:0; margin:0; } /*styling open close button*/ .button { display:inline; position:absolute; right:50px; top:6px; z-index:999; font-size:30px; } .button { text-decoration:none; } .btn-open:after { color:#276b9e; content:"\f0c9"; font-family:"fontawesome"; transition-property:all .2s linear 0s; -moz-transition:all .2s linear 0s; -webkit-transition:all .2s linear 0s; -o-transition:all .2s linear 0s; } .btn-open:hover:after { color:#fc0; } .btn-close:after { color:#276b9e; content:"\f00d"; font-family:"fontawesome"; transition-property:all .2s linear 0s; -moz-transition:all .2s linear 0s; -webkit-transition:all .2s linear 0s; -o-transition:all .2s linear 0s; } .btn-close:hover:after { color: #fc0; } /*overlay*/ .overlay { display:none; position:fixed; top:0; height:100%; width:100%; background:#fff; overflow:auto; z-index:99; } .wrap { color:#e9e9e9; text-align:center; max-width:90%; margin:0 auto; } .wrap ul.wrap-nav { border-bottom:1px solid #fc0; text-transform:capitalize; padding:100px 0px 50px; } .wrap ul.wrap-nav li { font-size:20px; display:inline-block; vertical-align:top; width:24%; position:relative; } .wrap ul.wrap-nav li { color:#4169e1; display:block; padding:8px 0; text-decoration:none; transition-property:all .2s linear 0s; -moz-transition:all .2s linear 0s; -webkit-transition:all .2s linear 0s; -o-transition:all .2s linear 0s; } /*.wrap ul.wrap-nav li a:hover { color:#fc0; }*/ .wrap-nav h1{ color:#4169e1; } .wrap ul.wrap-nav ul { padding:20px 0; } .wrap ul.wrap-nav ul li { display:block; font-size:13px; width:100%; color:#e9e9e9; } .wrap ul.wrap-nav ul li { color:#276b9e; } .wrap ul.wrap-nav ul li a:hover { color:#fc0; } .social { font-size:25px; padding:20px; } .social p { margin:0; padding:20px 0 5px 0; line-height:30px; font-size:13px; } /*.social p { color:#34b484; text-decoration:none; margin:0; padding:0; }*/ .social-icon { width:80px; height:50px; background:#e9e9e9; color:#276b9e; display:inline-block; margin:0 20px; transition-property:all .2s linear 0s; -moz-transition:all .2s linear 0s; -webkit-transition:all .2s linear 0s; -o-transition:all .2s linear 0s; } .social-icon:hover { background:#fc0; color:#fff; } .social-icon { margin-top:12px; } @media screen , (max-width:48em) { .wrap ul.wrap-nav>li { width:100%; padding:20px 0; border-bottom:1px solid #575757; } .wrap ul.wrap-nav { padding:30px 0px 0px; } nav ul { opacity:0; visibility:hidden; } .social { color:#c1c1c1; font-size:25px; padding:15px 0; } .social-icon { width:100%; height:50px; background:#fff; color:#333; display:block; margin:5px 0; } } .content { width:100%; margin-top:200px; font-size:20px; color#333; text-align: center; }
html5 footer section:
<footer> <div class="container_12 clearfix"> <div class="grid_4"> <p>all content © 2015 athena</p> </div> <!-- end grid_4 --> <div class="grid_4"> <p id="footer-center"> <a href="#top" class="top-btn" id="back-to-top">back top</a> <!--<a href="#grid-overlay" id="show-grid">show grid</a>--> </p> </div> <!-- end grid_4 --> <div class="grid_4"> <p id="footer-right"> web design athena </p> </div> <!-- end grid_4 --> </div> <!-- end container_12 --> </footer>
css3:
footer { background: #276b9e; height:50px; border-top: 3px solid #fc0; margin-top:30px; padding: 10px; color: #ffc92b; font: 300 .9em 'kozgopro-extralight', sans-serif; } footer { color: #fff; text-decoration: none; } footer a:hover { color: #fc0; } #footer-center { text-align: center; } #footer-right { text-align: right; } footer a#back-to-top { height: 16px; padding-left: 21px; display: inline-block; background: url(../images/sprite.png) no-repeat; } footer a#back-to-top { background-position: -28px 0; }
Comments
Post a Comment