Advertisement
LeBizu2561

CSS

Sep 13th, 2022
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.43 KB | None | 0 0
  1. html,
  2. body {
  3. margin: 0px;
  4. padding: 0px;
  5. font-family: Verdana, Geneva, Tahoma, sans-serif;
  6. scroll-behavior: smooth;
  7. }
  8.  
  9. .container {
  10. width: 100%;
  11. min-height: 100vh;
  12. height: auto;
  13. }
  14.  
  15. .header {
  16. background-color: #181818;
  17. text-align: center;
  18. padding: 1px;
  19. color: white;
  20. }
  21.  
  22. .header h1 {
  23. padding-top: 20px;
  24. position: relative;
  25. font-size: 20px;
  26. }
  27.  
  28.  
  29. .header img {
  30. padding-top: 15px;
  31. position: absolute;
  32. display: flex;
  33. width: 75px;
  34. height: 75px;
  35. margin: 8px;
  36. border-radius: 50%;
  37. }
  38.  
  39. .topnav {
  40. background-color: black;
  41. margin-top: -10px;
  42. }
  43.  
  44. .topnav a {
  45. opacity: .6;
  46. display: inline-block;
  47. padding: 14px 16px;
  48. text-decoration: none;
  49. color: white;
  50. background-color: black;
  51. }
  52.  
  53. .search-form {
  54. margin-top: 7px;
  55. float: right;
  56. margin-right: 16px;
  57. }
  58.  
  59. .search {
  60. padding: 7px;
  61. border: none;
  62. font-size: 16px;
  63. border-radius: 5px 0 0 5px;
  64. }
  65.  
  66. button {
  67. float: right;
  68. background-color: #181818;
  69. color: white;
  70. border-radius: 0 5px 5px 0;
  71. cursor: pointer;
  72. position: relative;
  73. padding: 7px;
  74. border: none;
  75. font-size: 16px;
  76. }
  77.  
  78. .topnav a:hover {
  79. opacity: 1;
  80. }
  81.  
  82. .tagline {
  83. margin-top: -22px;
  84. text-align: center;
  85. justify-content: center;
  86. height: 70vh;
  87. background-image: url(../IMG/header.jpg);
  88. background-size: cover;
  89. }
  90.  
  91. .tag {
  92. position: relative;
  93. top: 50%;
  94. transform: translateY(-50%);
  95. color: white;
  96. font-weight: bold;
  97. }
  98.  
  99. .product {
  100. text-align: center;
  101. margin-bottom: 20px;
  102. }
  103.  
  104. .product h1 {
  105. margin-top: 40px;
  106. color: #181818;
  107. margin-bottom: 50px;
  108. }
  109.  
  110. .product-list {
  111. justify-content: center;
  112. display: flex;
  113. }
  114.  
  115. .col-product {
  116. margin-top: 30px;
  117. margin: 10px;
  118. padding: 10px;
  119. border-radius: 15px;
  120. transition: transform .2s;
  121. }
  122.  
  123. .col-product:hover {
  124. transform: scale(1.1);
  125. }
  126.  
  127. .col-product img {
  128. width: 200px;
  129. border-radius: 50%;
  130. }
  131.  
  132. .col-product p {
  133. padding-top: 10px;
  134. text-align: center;
  135. width: 100%;
  136. background-color: white;
  137. color: #181818;
  138. font-weight: bold;
  139. }
  140.  
  141. .row-visi {
  142. margin-top: 50px;
  143. align-items: center;
  144. padding: 30px;
  145. display: flex;
  146. background-color: #181818;
  147. }
  148.  
  149. .col-visi {
  150. background-color: #181818;
  151. text-align: center;
  152. }
  153.  
  154. .col-visi h1 {
  155. padding-bottom: 20px;
  156. color: white;
  157. background-color: #181818;
  158. text-align: center;
  159. }
  160.  
  161. .col-misi {
  162. background-color: #181818;
  163. text-align: center;
  164. }
  165.  
  166. .col-misi h1,
  167. p {
  168. padding-bottom: 20px;
  169. color: white;
  170. background-color: #181818;
  171. text-align: center;
  172. }
  173.  
  174. .col-tujuan {
  175. background-color: #181818;
  176. text-align: center;
  177. }
  178.  
  179. .col-tujuan h1 {
  180. padding-bottom: 20px;
  181. color: white;
  182. background-color: #181818;
  183. text-align: center;
  184. }
  185.  
  186. .kontak {
  187. color: #181818;
  188. text-align: center;
  189. margin-top: 70px;
  190. margin-bottom: 60px;
  191. }
  192.  
  193. .form-kontak {
  194. width: 100%;
  195. border: none;
  196. border-bottom: 2px solid #181818;
  197. outline: none;
  198. }
  199.  
  200. .row-form {
  201. margin: 20px auto;
  202. width: 50%;
  203. }
  204.  
  205. .col-form h3 {
  206. text-align: left;
  207. margin-top: 20px;
  208. margin-bottom: 10px;
  209. color: #181818;
  210. }
  211.  
  212. .col-form,
  213. .form-kontak h3 {
  214. margin: 10px;
  215. text-align: end;
  216. }
  217.  
  218. .btn-kirim {
  219. margin-top: 40px;
  220. text-align: center;
  221. padding: 10px;
  222. width: 100%;
  223. background-color: white;
  224. color: #181818;
  225. border-radius: 10px;
  226. font-weight: bold;
  227. border: none;
  228. }
  229.  
  230. .btn-kirim:hover {
  231. cursor: pointer;
  232. background-color: #181818;
  233. color: white;
  234. transition: .3s ease-in-out;
  235. }
  236.  
  237. .row-footer {
  238. background-color: #181818;
  239. display: flex;
  240. justify-content: space-between;
  241. margin-top: 150px;
  242. }
  243.  
  244. .col-footer h1 {
  245. border-bottom: 2px solid white;
  246. margin-left: 20px;
  247. color: white;
  248. }
  249.  
  250. .col-footer p {
  251. margin-left: 20px;
  252. color: white;
  253. margin-top: 70px;
  254. }
  255.  
  256. .col-footer h2 {
  257. border-bottom: 2px solid white;
  258. text-align: right;
  259. font-size: 25px;
  260. margin-right: 20px;
  261. color: white;
  262. }
  263.  
  264. .col-footer li {
  265. margin: 5px;
  266. cursor: pointer;
  267. opacity: .6;
  268. color: white;
  269. margin-right: 20px;
  270. list-style: none;
  271. text-align: right;
  272. }
  273.  
  274. .col-footer li:hover {
  275. opacity: 1;
  276. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement