Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. <header id="header">
  2. <div class="row collapse align-middle">
  3. <div class="medium-2 column" id="logo">
  4. <a href="https://domain.com">Logo Text</a>
  5. </div>
  6.  
  7. <div class="medium-10 nav-wrap column">
  8. <nav class="nav-container">
  9. <ul class="menu">
  10. <li><a href="/home">Hem</a></li>
  11.  
  12. <li><a href="/contact/">Contact</a></li>
  13. </ul>
  14. </nav>
  15. </div>
  16. </div>
  17. </header>
  18.  
  19. #header {
  20. height: 100px;
  21. background: #f00;
  22. display: flex;
  23. > .row{
  24. padding: 0 20px; flex: auto;
  25. }
  26.  
  27. .menu {
  28. justify-content: flex-end;
  29. display: flex;
  30. flex-wrap: wrap;
  31. li {
  32. flex: 0 1 auto;
  33. list-style: none;
  34. a {
  35. font-size: 16px;
  36. text-decoration: none;
  37. }
  38. }
  39. }
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement