Guest User

اصلاح CSS

a guest
Sep 28th, 2015
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.38 KB | None | 0 0
  1. body {
  2.     margin: 0;
  3.     padding: 0;
  4. }
  5.  
  6. .container {
  7.     margin: auto;
  8.     width: 70%;
  9. }
  10.  
  11. .navbar {
  12.     background-color: #000;
  13.     height: 100px;
  14.     width: 100%;
  15. }
  16.  
  17.  
  18. .navbar h2 {
  19.     color: #fff;
  20.     display: inline;
  21.     float: left;
  22. }
  23.  
  24.  
  25. .navbar ul {
  26.     list-style: none;
  27.     color: #fff;
  28.     float: right;
  29. }
  30.  
  31. .navbar ul li {
  32.     display: inline-block;
  33. }
Advertisement
Add Comment
Please, Sign In to add comment