Advertisement
Guest User

RAIPED RAISK

a guest
Mar 27th, 2017
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. body {
  2. background-color: #eee;
  3. font-family: 'Open Sans', sans-serif;
  4. padding: 0;
  5. margin: 0;
  6. }
  7. img{
  8. width: 100%;
  9. background: #ddd;
  10. padding: 20px 0;
  11. }
  12. .logo{
  13. width: 120px;
  14. float: left;
  15. padding: 0;
  16. }
  17. .wrap{
  18. position: relative;
  19. margin: 0 auto;
  20. width: 90%;
  21. max-width: 1600px;
  22. min-width: 480px;
  23. }
  24. .content {
  25. background: Azure;
  26. position: absolute;
  27. top: 120px;
  28. padding: 20px;
  29. min-width: 220px;
  30. }
  31. .header {
  32. position: fixed;
  33. z-index: 999;
  34. top: 0;
  35. width: 90%;
  36. max-width: 1600px;
  37. min-width: 340px;
  38. background: LightSeaGreen;
  39. padding: 0;
  40. }
  41. a{
  42. text-decoration: none;
  43. color: crimson;
  44.  
  45. }
  46. a:visited {
  47. color: darkslategray;
  48. }
  49. a:hover{
  50. color:red;
  51. }
  52. ul{
  53. list-style-type: none;
  54. margin: 0;
  55. padding: 0;
  56. position: absolute;
  57. left: 120px;
  58. right: 0;
  59. bottom: 0;
  60. background: #ff9900;
  61. min-width: 220px;
  62. }
  63. li > a{
  64. display: block;
  65. float: left;
  66. color: #fff;
  67. padding: 10px 20px;
  68. text-transform: uppercase;
  69. }
  70. li > a:visited{
  71. color: #ccc;
  72. }
  73. li > a:hover {
  74. color: #fff;
  75. background-color: red;
  76. }
  77. .menu. {
  78. float: left;
  79. width: 31.33%;
  80. margin: 1% 5% 5% 5%;
  81. background: Pink;
  82. }
  83. .column{
  84. float:left;
  85. width: 31.33%;
  86. margin: 1%;
  87. background: Red;
  88. }
  89. .column2 {
  90. display:inline-block;
  91. width: 200px;
  92. margin: 1%;
  93. background: Red;
  94. }
  95. @media (max-width: 768px){
  96. .column{
  97. width: 48%;
  98. }
  99. }
  100.  
  101. @media (max-width: 480px){
  102. .column{
  103. width: 100%;
  104. }
  105. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement