Advertisement
Guest User

Untitled

a guest
Apr 30th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.87 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Untitled Document</title>
  6. <style>
  7. body {
  8. font-family:Arial, aHelvetica, sans-serif;
  9. padding:20px 50px 50px;
  10. font-size:13px;
  11. text-align:center;
  12. background:#e3caa;
  13. }
  14.  
  15. ul {
  16. text-align:left;
  17. display:inline;
  18. margin:0;
  19. padding:15px 4px 17px 0;
  20. list-style:none;
  21. }
  22.  
  23. ul li {
  24. font:bold 12px/18px Arial, Helvetica, sans-serif;
  25. display:inline-block;
  26. margin-right:10px;
  27. position:relative;
  28. padding:15px 20px;
  29. background:#fff;
  30. cursor:pointer;
  31. }
  32.  
  33. ul li:hover {
  34. background:cyan;
  35. color:#fff;
  36. }
  37.  
  38. ul li ul {
  39. padding:0;
  40. position:absolute;
  41. top:48px;
  42. left:0;
  43. width:150px;
  44. display:none;
  45. opacity:0;
  46. visibility:hidden;
  47. }
  48.  
  49. ul li ul li {
  50. background:cyan;
  51. display:block;
  52. color:#000;
  53. text-shadow:0 -1px 0 #000;
  54. }
  55.  
  56. ul li ul li:hover {
  57. background:#666;
  58. }
  59.  
  60. ul li:hover ul {
  61. display:block;
  62. opacity:1;
  63. visibility:visible;
  64. }
  65. /*default button style*/
  66. .btn{
  67. background:#f5f5f5;
  68. font-size:14px;
  69. color:#000000;
  70. border:none;
  71. border-radius:4px;
  72. padding:8px 16px;
  73. outline:0;
  74. cursor:pointer;
  75. }
  76. /*font color for button*/
  77. .btn-primary,
  78. .btn-success,
  79. .btn-info,
  80. .btn-danger{
  81. color:#ffffff;
  82. }
  83. .btn-block{
  84. display:block;
  85. width:100%;
  86. }
  87. .btn-sm{
  88. padding:4px 8px;
  89. border-radius:4px;
  90. font-size:12px;
  91. }
  92. .btn-lg{
  93. padding:16px 32px;
  94. border-radius:8px;
  95. font-size:18px;
  96. }
  97. /*dynamic background color for button*/
  98. .btn-primary{background-color:#2E3129}
  99. .btn-success{background-color:#00A651}
  100. .btn-info{background-color:#00AEEF}
  101. .btn-warn{background-color:#FFF200}
  102. .btn-danger{background-color:#ED1C24}
  103.  
  104. .kanan {
  105. float:right
  106. }
  107. .kiri {
  108. float:left;
  109. clear:both;
  110.  
  111. }
  112.  
  113. .content {
  114. padding-top:100px;
  115. }
  116. .cari {
  117. width:500px;
  118. height:25px;
  119. }
  120. ul.kiri{margin-top:10px}
  121.  
  122. </style>
  123.  
  124. </head>
  125.  
  126. <body>
  127. <ul class="kiri">
  128.  
  129.  
  130. <li class="btn btn-primary">Redeem Voucher</li>
  131. <li class="btn btn-primary">Top Up Poin</li>
  132. <li class="btn btn-primary">Download App</li>
  133.  
  134. </ul>
  135.  
  136.  
  137. <ul class="kanan">
  138. <li class="btn btn-primary">Login</li>
  139. <li class="btn btn-primary">Register</li>
  140.  
  141. </ul>
  142. <p class="kiri btn btn-lg btn-primary btn btn-danger"> Ayo Berbelanja </p>
  143.  
  144. <div class="content">
  145. <input class="cari" type="text" name="">
  146. <br><br>
  147. <a class="btn btn-primary">Cari</a>
  148. </div>
  149.  
  150. <ul class="kiri">
  151. <li class="btn btn-sm btn-primary">All Categories</li>
  152. </ul>
  153.  
  154. <ul class="kiri">
  155. <li class="btn btn-sm btn-primary">All Categories</li>
  156. </ul>
  157.  
  158.  
  159. </body>
  160. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement