aytdev

Class 7

Oct 1st, 2020
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.51 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
  5.     <link rel="stylesheet" type="text/css" href="css/main.css">
  6.     <title>Class 8</title>
  7.     <style>
  8.         *{
  9.     margin:0;
  10.     padding: 0;
  11.     box-sizing: border-box;
  12. }
  13. .header{
  14.     height: 70px;
  15.     width: 100%;
  16.     background-color: dodgerblue;
  17. }
  18. .navbar{
  19.     height: 100%;
  20.     width: 50%;
  21.     background-color: ;
  22.     float: right;
  23. }
  24. .navbar ul{
  25.     list-style: none;
  26.     display: flex;
  27.     flex-direction: row;
  28.     justify-content: space-around;
  29.     padding: 20px;
  30.    
  31. }
  32. .navbar ul li a{
  33.  
  34.     text-decoration: none;
  35.     color:white;
  36.     font-size: 25px;
  37.     text-transform: uppercase;
  38.     border-bottom: 2px solid orange;
  39. }
  40. .navbar ul li a:hover{
  41.     color:orange;
  42.     border-bottom: 2px solid white;
  43. }
  44.  
  45. .fa-home,.fa-user,.fa-volume-control-phone,.fa-wrench{
  46.     padding-right: 5px;
  47.     color:black;
  48. }
  49.        
  50.     </style>
  51. </head>
  52. <body>
  53.     <div class="header">
  54.         <nav class="navbar">
  55.             <ul>
  56.                 <li><a href="#" title=""><i class="fa fa-home" aria-hidden="true"></i>Home</a></li>
  57.                 <li><a href="#" title=""><i class="fa fa-user" aria-hidden="true"></i>Profile</a></li>
  58.                 <li><a href="#" title=""><i class="fa fa-volume-control-phone" aria-hidden="true"></i>Contuct</a></li>
  59.                 <li><a href="#" title=""><i class="fa fa-wrench" aria-hidden="true"></i>Setting</a></li>
  60.  
  61.             </ul>
  62.  
  63.         </nav>
  64.        
  65.     </div>
  66.  
  67. </body>
  68. </html>
Add Comment
Please, Sign In to add comment