Advertisement
LeBizu2561

CSS

Sep 20th, 2022
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. * {
  2. padding: 0;
  3. margin: 0;
  4. font-family: sans-serif;
  5. }
  6.  
  7. a {
  8. color: inherit;
  9. text-decoration: none;
  10. }
  11.  
  12. .meadsos {
  13. padding: 5px 0;
  14. background-color: #2CDFA9;
  15. }
  16.  
  17. .meadsos ul li {
  18. display: inline-block;
  19. color: #fff;
  20. margin-right: 10px;
  21. }
  22.  
  23. .container {
  24. text-align: ce;
  25. align-self: start;
  26. width: 80%;
  27. margin: 0 auto;
  28. }
  29.  
  30. header {
  31. border: 1px solid;
  32. }
  33.  
  34. img {
  35. position: absolute;
  36. width: 70px;
  37. }
  38.  
  39. header h1 {
  40. margin-left: 12%;
  41. border: 1px solid;
  42. float: left;
  43. padding: 15px 0;
  44. color: #2CDFA9;
  45. }
  46.  
  47. header ul {
  48. border: 1px solid;
  49. float: right;
  50. }
  51.  
  52. header ul li {
  53. display: inline-block;
  54. }
  55.  
  56. header ul li a {
  57. padding: 25px 20px;
  58. display: inline-block;
  59. }
  60.  
  61. header ul li a:hover {
  62. background-color: #2CDFA9;
  63. color: #fff;
  64. }
  65.  
  66. .active {
  67. background-color: #2CDFA9;
  68. color: #fff;
  69. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement