Advertisement
adesuryadi_

style css

Jul 4th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.47 KB | None | 0 0
  1. *{
  2. padding: 0;margin: 0;
  3. }
  4. #header{
  5. width: 100%;
  6. height: 60%;
  7. background: #f4f4f4;
  8. <!---border-bottom: 5px solid green; --->
  9. }
  10.  
  11. #dua {
  12. width: 100%;
  13. height: 350px;
  14. background: #f4f4f4; <!--- putih keabuabuan -->
  15. }
  16.  
  17. #tiga {
  18. width: 100%;
  19. height: 420px;
  20. background: #B2DFDB; <!--- biru -->
  21. }
  22.  
  23. #tiga2 {
  24. width: 100%;
  25. height: 220px;
  26. background: #B2DFDB; <!--- biru -->
  27. }
  28.  
  29. #empat {
  30. width: 100%;
  31. height: 950px;
  32. background: #f4f4f4; <!--- putih keabuabuan -->
  33. }
  34.  
  35. #empatprice {
  36. width: 100%;
  37. height: 300px;
  38. background: #f4f4f4; <!--- putih keabuabuan -->
  39. }
  40. #footer{
  41. width: 100%;
  42. height: 300px;
  43. background: #0097A7;
  44. border-top: 7px solid #00BCD4;
  45. }
  46. #footer2{
  47. width: 100%;
  48. height: 20px;
  49. background: #00BCD4;
  50. }
  51.  
  52.  
  53.  
  54. #sentuh
  55. div:hover {
  56. background-color: red;
  57. }
  58.  
  59.  
  60. #content{
  61. padding: 20px;
  62. background: green;
  63. margin-bottom: 10;
  64. overflow: hidden;
  65. }
  66. #artikel{
  67. width: 600px;
  68. height: 700px;
  69. float: left;
  70. background: orange;
  71. }
  72. #Label{
  73. width: 325px;
  74. height: 30px;
  75. float: right;
  76. background: #0e65f2;
  77. }
  78.  
  79. #Font{
  80. font-family: "Times New Roman", Times, serif;
  81. }
  82.  
  83.  
  84.  
  85.  
  86. nav {
  87. margin:auto;
  88. text-align: center;
  89. width: 100%;
  90. height: 70%;
  91. font-family: arial;
  92. }
  93. nav ul {
  94.  
  95.  
  96. list-style: none;
  97. position: relative;
  98. bottom: 1px;
  99. left: 100px;
  100. display: inline-table;
  101. width: 55%;
  102. }
  103. nav ul li{
  104. float:left;
  105. }
  106.  
  107. nav ul li:hover{
  108. background:#00BCD4; #Biru muda
  109. }
  110.  
  111. nav ul li:hover a{
  112. color:#000;
  113. }
  114.  
  115. nav ul li a{
  116. display: block;
  117. padding: 25px;
  118. color: #000;
  119. text-decoration: none;
  120. }
  121.  
  122. #services1 {
  123. width: 22%;
  124. height: 80%;
  125. position:relative;top:30px;left:3%;display:block;
  126. background: #f4f4f4; <!--- oren -->
  127. }
  128.  
  129. #services2 {
  130. width: 22%;
  131. height: 80%;
  132. position:relative;top:-250px;left:355px;display:block;
  133. background: #f4f4f4; <!--- oren -->
  134. }
  135.  
  136. #services3 {
  137. width: 22%;
  138. height: 80%;
  139. position:relative;top:-530px;left:675px;display:block;
  140. background: #f4f4f4; <!--- oren -->
  141. }
  142.  
  143. #services4 {
  144. width: 22%;
  145. height: 80%;
  146. position:relative;top:-810px;left:1000px;display:block;
  147. background: #f4f4f4; <!--- oren -->
  148. }
  149. <!--- portofolio --->
  150. #portofolio1 {
  151. width: 250px;
  152. height: 250px;
  153. position:relative;top:40px;left:355px;display:block;
  154. background: #f98561; <!--- oren -->
  155. }
  156.  
  157. #portofolio2 {
  158. width: 250px;
  159. height: 250px;
  160. position:relative;top:40px;left:355px;display:block;
  161. background: #f98561; <!--- oren -->
  162. }
  163.  
  164. #portofolio3 {
  165. width: 250px;
  166. height: 250px;
  167. position:relative;top:-295px;left:675px;display:block;
  168. background: #f98561; <!--- oren -->
  169. }
  170.  
  171. #portofolio4 {
  172. width: 250px;
  173. height: 250px;
  174. position:relative;top:-410px;left:35px;display:block;
  175. background: #f98561; <!--- oren -->
  176. }
  177.  
  178. <!--- oren -->
  179. @font-face{
  180. color: #2190c1;
  181. font-size: 20px;
  182. font-family: 'fontbebasnue';
  183. src: url('../fonts/BebasNeue.otf');
  184. }
  185. #fontbebas{
  186. color:#f98561;
  187. font-size: 50px;
  188. font-weight: normal;
  189. font-variant: small-caps;
  190. font-family: fontbebasnue;
  191. src: url('/fonts/BebasNeue.otf')
  192. }
  193.  
  194. #fontuntukfooter{
  195. color:#f98561;
  196. font-size: 50px;
  197. font-weight: normal;
  198. font-variant: small-caps;
  199.  
  200. }
  201. #font2{
  202. position : center;
  203. color: #ff00ff;
  204. font-size: 20px;
  205. font-weight: bold;
  206. font-family:Rockwell, Calibri, Monospace;
  207. }
  208.  
  209. * {
  210. box-sizing: border-box;
  211. }
  212.  
  213. .columns {
  214. float: left;
  215. width: 33.3%;
  216. padding: 8px;
  217. }
  218.  
  219. .price {
  220. list-style-type: none;
  221. border: 1px solid #eee;
  222. margin: 0;
  223. padding: 0;
  224. -webkit-transition: 0.3s;
  225. transition: 0.3s;
  226. }
  227.  
  228. .price:hover {
  229. box-shadow: 0 8px 12px 0 rgba(0,0,0,0.2)
  230. }
  231.  
  232. .price .header {
  233. background-color: #0097A7;
  234. color: white;
  235. font-size: 25px;
  236. }
  237.  
  238. .price li {
  239. border-bottom: 1px solid #eee;
  240. padding: 20px;
  241. text-align: center;
  242. }
  243.  
  244. .price .grey {
  245. background-color: #eee;
  246. font-size: 20px;
  247. }
  248. .ceklis {
  249.  
  250. }
  251.  
  252. .button {
  253. background-color: #00BCD4;
  254. border: none;
  255. color: white;
  256. padding: 10px 25px;
  257. text-align: center;
  258. text-decoration: none;
  259. font-size: 18px;
  260. }
  261.  
  262. @media only screen and (max-width: 600px) {
  263. .columns {
  264. width: 100%;
  265. }
  266. }
  267.  
  268.  
  269.  
  270. #footercoba {
  271. float: left;
  272. width: 33.3%;
  273. padding: 15px;
  274. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement