Advertisement
Guest User

Untitled

a guest
Apr 1st, 2015
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.32 KB | None | 0 0
  1. <li class="coupontooltip_li_list">
  2. <div>
  3. <img class="coupontooltip_img" src="http://lorempixum.com/100/100/nature/1">
  4. <span class="coupontooltiplistspan">Distance: 200m</br>Duration: 00:01:30</br>Laps: 4</span>
  5. </div>
  6.  
  7. <div>
  8. <ul id="cellvaluelist">
  9. <li><a href="#" class="swim">MAIN 1</a></li>
  10. <li><a href="#" class="chrono">MAIN 2</a></li>
  11. <li><a href="#" class="couponcode">MAIN 3
  12. <div class="coupontooltip">
  13. <ul class="coupontooltip_ul_list">
  14. <li class="coupontooltip_li_list">
  15. <div>
  16. <img class="coupontooltip_img" src="http://lorempixum.com/100/100/nature/1">
  17. <span class="coupontooltiplistspan">Distance</br>Duration: </br>Laps: </span>
  18. </div>
  19. </li></br>
  20.  
  21. <li class="coupontooltip_li_list">
  22. <div>
  23. <img class="coupontooltip_img" src="http://lorempixum.com/100/100/nature/1">
  24. <span class="coupontooltiplistspan">SET 1: abcd</br>SET 2: EFGH</br>SET 3: ijkl</span>
  25. </div>
  26. </li></br>
  27.  
  28. <li class="coupontooltip_li_list">
  29. <div>
  30. <img class="coupontooltip_img" src="http://lorempixum.com/100/100/nature/1">
  31. <span class="coupontooltiplistspan">Distance: 200m</br>Duration: 00:01:30</br>Laps: 4</span>
  32. </div>
  33. </li>
  34.  
  35. </ul>
  36. </div>
  37. </a>
  38. </li>
  39. </ul>
  40. </div>
  41.  
  42. #cellvaluelist {
  43. font-family:'Trebuchet MS', Tahoma, Sans-serif;
  44. font-size: 20px;
  45. list-style-type: none;
  46. margin: 0;
  47. padding: 0;
  48. }
  49.  
  50. #cellvaluelist > li {
  51. list-style-type: none;
  52. text-align: left;
  53. border-bottom: 2px solid #F5F5F5;
  54. }
  55.  
  56. #cellvaluelist > li:last-child {
  57. border: none;
  58. }
  59.  
  60. #cellvaluelist > li a {
  61. text-decoration: none;
  62. color: #000;
  63. display: block;
  64. width: 150px;
  65.  
  66. -webkit-transition: font-size 0.3s ease, background-color 0.3s ease;
  67. -moz-transition: font-size 0.3s ease, background-color 0.3s ease;
  68. -o-transition: font-size 0.3s ease, background-color 0.3s ease;
  69. -ms-transition: font-size 0.3s ease, background-color 0.3s ease;
  70. transition: font-size 0.3s ease, background-color 0.3s ease;
  71. }
  72.  
  73. #cellvaluelist > li a:hover {
  74. background: #F5F5F5;
  75. }
  76.  
  77. .swim {
  78. background: #626FD1;
  79. font-size: 15px;
  80. font-weight: normal;
  81. }
  82.  
  83. .chrono {
  84. background: #EDCF47;
  85. font-size: 15px;
  86. font-weight: normal;
  87. }
  88.  
  89. .couponcode {
  90. background: #47ED4D;
  91. font-size: 15px;
  92. font-weight: normal;
  93. }
  94.  
  95. .couponcode:hover .coupontooltip {
  96. display: block;
  97. }
  98.  
  99. .coupontooltip {
  100. display: none;
  101. background: #FFCC00;
  102. position: absolute;
  103. z-index: 1000;
  104. }
  105.  
  106. .coupontooltip_ul_list, .coupontooltip_li_list {
  107. background: #FF0000;
  108. list-style-type: none;
  109. float: left;
  110. margin: 0;
  111. padding: 0;
  112. width: 100%
  113. }
  114.  
  115. .coupontooltip_li_list {
  116. background: #D6D6D6;
  117. border-bottom: 2px solid #F5F5F5;
  118. }
  119.  
  120. .coupontooltip_img {
  121. width: 50px;
  122. height: 50px;
  123. float: left;
  124. padding: 5px;
  125. }
  126.  
  127. .coupontooltiplistspan {
  128. display: inline-block;
  129. }
  130.  
  131. <div class="coupontooltip">
  132.  
  133. .coupontooltip {
  134. display: none;
  135. background: #FFCC00;
  136. position: absolute;
  137. z-index: 1000;
  138. }
  139.  
  140. .coupontooltip_ul_list, .coupontooltip_li_list {
  141. background: #FF0000;
  142. list-style-type: none;
  143. float: left;
  144. margin: 0;
  145. padding: 0;
  146. width: 100%
  147. }
  148.  
  149. .coupontooltip_ul_list {
  150. display: none;
  151. background: #FFCC00;
  152. position: absolute;
  153. z-index: 1000;
  154. }
  155.  
  156. .coupontooltip_ul_list, .coupontooltip_li_list {
  157. background: #FF0000;
  158. list-style-type: none;
  159. float: left;
  160. margin: 0;
  161. padding: 0;
  162. width: 100%
  163. }
  164.  
  165. .couponcode:hover .coupontooltip {
  166. display: block;
  167. }
  168.  
  169. <div>
  170. <ul id="cellvaluelist">
  171. <li>
  172. <a href="#" class="swim">MAIN 1</a>
  173. </li>
  174. <li>
  175. <a href="#" class="chrono">MAIN 2</a>
  176. </li>
  177. <li>
  178. <a href="#" class="couponcode">MAIN 3
  179. <ul class="coupontooltip_ul_list">
  180. <li class="coupontooltip_li_list">
  181. <img class="coupontooltip_img" src="http://lorempixum.com/100/100/nature/1">
  182. <span class="coupontooltiplistspan">Distance</br>Duration: </br>Laps: </span>
  183. </li>
  184. </br>
  185. <li class="coupontooltip_li_list">
  186. <img class="coupontooltip_img" src="http://lorempixum.com/100/100/nature/1">
  187. <span class="coupontooltiplistspan">SET 1: abcd</br>SET 2: EFGH</br>SET 3: ijkl</span>
  188. </li></br>
  189. <li class="coupontooltip_li_list">
  190. <img class="coupontooltip_img" src="http://lorempixum.com/100/100/nature/1">
  191. <span class="coupontooltiplistspan">Distance: 200m</br>Duration: 00:01:30</br>Laps: 4</span>
  192. </li>
  193. </ul>
  194. </a>
  195. </li>
  196. </ul>
  197. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement