iwtyhe

css caixinhas hover

Dec 5th, 2012
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 5.46 KB | None | 0 0
  1. #sidebar {
  2. position:fixed !important;
  3. width: 180px;
  4. height: 180px;
  5. background-color:white;
  6. margin-top: 100px;
  7. margin-left:100px;
  8. overflow: hidden;
  9. border: 1px solid #eee;
  10. }
  11.  
  12. #sidebar img {
  13. width: 180px;
  14. position: absolute;
  15. margin-top: 0px;
  16. margin-left: 0px;
  17. min-height: 180px;
  18. }
  19.  
  20. #sidebar .desc {
  21. opacity: 1;
  22. position: absolute;
  23. margin-top: 190px;
  24. border: 1px solid #eee;
  25. margin-left: -12px;
  26. background: white;
  27. padding: 10px;
  28. width: 180px;
  29. z-index: 1000;
  30. overflow: hidden;
  31. height: 180px;
  32. opacity: .0;
  33. transition: all 0.5s ease-out;
  34. -o-transition-transition: all 0.5s ease-out;
  35. -webkit-transition: all 0.5s ease-out;
  36. -moz-transition: all 0.5s ease-out;
  37. }
  38.  
  39. #sidebar:hover .desc {
  40. opacity: 1;
  41. margin-top:0px;
  42. transition: all 0.5s ease-out;
  43. -o-transition-transition: all 0.5s ease-out;
  44. -webkit-transition: all 0.5s ease-out;
  45. -moz-transition: all 0.5s ease-out;
  46. }
  47.  
  48. #sidebar2 {
  49. position:fixed !important;
  50. width: 180px;
  51. height: 180px;
  52. background-color:white;
  53. margin-top: 100px;
  54. margin-left:285px;
  55. overflow: hidden;
  56. border: 1px solid #eee;
  57. }
  58.  
  59. #sidebar2 img {
  60. width: 180px;
  61. position: absolute;
  62. margin-top: 0px;
  63. margin-left: 0px;
  64. min-height: 180px;
  65. }
  66.  
  67. #sidebar2 .desc {
  68. opacity: 1;
  69. position: absolute;
  70. margin-top: -190px;
  71. border: 1px solid #eee;
  72. margin-left: -12px;
  73. background: white;
  74. padding: 10px;
  75. width: 180px;
  76. z-index: 1000;
  77. overflow: hidden;
  78. height: 180px;
  79. opacity: .0;
  80. transition: all 0.5s ease-out;
  81. -o-transition-transition: all 0.5s ease-out;
  82. -webkit-transition: all 0.5s ease-out;
  83. -moz-transition: all 0.5s ease-out;
  84. }
  85.  
  86. #sidebar2:hover .desc {
  87. opacity: 1;
  88. margin-top:0px;
  89. transition: all 0.5s ease-out;
  90. -o-transition-transition: all 0.5s ease-out;
  91. -webkit-transition: all 0.5s ease-out;
  92. -moz-transition: all 0.5s ease-out;
  93. }
  94.  
  95.  
  96. #sidebar3 {
  97. position:fixed !important;
  98. width: 180px;
  99. height: 180px;
  100. background-color:white;
  101. margin-top: 285px;
  102. margin-left:285px;
  103. overflow: hidden;
  104. border: 1px solid #eee;
  105. }
  106.  
  107. #sidebar3 img {
  108. width: 180px;
  109. position: absolute;
  110. margin-top: 0px;
  111. margin-left: 0px;
  112. min-height: 180px;
  113. }
  114.  
  115. #sidebar3 .desc {
  116. opacity: 1;
  117. position: absolute;
  118. border: 1px solid #eee;
  119. margin-left: -12px;
  120. background: white;
  121. padding: 10px;
  122. width: 180px;
  123. z-index: 1000;
  124. overflow: hidden;
  125. height: 180px;
  126. opacity: .6;
  127. transition: all 0.5s ease-out;
  128. -o-transition-transition: all 0.5s ease-out;
  129. -webkit-transition: all 0.5s ease-out;
  130. -moz-transition: all 0.5s ease-out;
  131. }
  132.  
  133. #sidebar3:hover .desc {
  134. opacity: 1;
  135. margin-top:190px;
  136. maring-left:190;
  137. transition: all 0.5s ease-out;
  138. -o-transition-transition: all 0.5s ease-out;
  139. -webkit-transition: all 0.5s ease-out;
  140. -moz-transition: all 0.5s ease-out;
  141. }
  142.  
  143. #sidebar4 {
  144. position:fixed !important;
  145. width: 180px;
  146. height: 180px;
  147. background-color:white;
  148. margin-top: 285px;
  149. margin-left:100px;
  150. overflow: hidden;
  151. border: 1px solid #eee;
  152. }
  153.  
  154. #sidebar4 img {
  155. width: 180px;
  156. position: absolute;
  157. margin-top: 0px;
  158. margin-left: 0px;
  159. min-height: 180px;
  160. }
  161.  
  162. #sidebar4 .desc {
  163. opacity: 1;
  164. position: absolute;
  165. margin-top: 0px;
  166. border: 1px solid #eee;
  167. margin-left: -12px;
  168. background: white;
  169. padding: 10px;
  170. width: 180px;
  171. z-index: 1000;
  172. overflow: hidden;
  173. height: 180px;
  174. opacity: .6;
  175. transition: all 0.5s ease-out;
  176. -o-transition-transition: all 0.5s ease-out;
  177. -webkit-transition: all 0.5s ease-out;
  178. -moz-transition: all 0.5s ease-out;
  179. }
  180.  
  181. #sidebar4:hover .desc {
  182. opacity: 1;
  183. margin-top:-210px;
  184. transition: all 0.5s ease-out;
  185. -o-transition-transition: all 0.5s ease-out;
  186. -webkit-transition: all 0.5s ease-out;
  187. -moz-transition: all 0.5s ease-out;
  188. }
  189.  
  190. #sidebar6 {
  191. position:fixed !important;
  192. width: 180px;
  193. height: 180px;
  194. background-color:white;
  195. margin-top: 285px;
  196. margin-left:470px;
  197. overflow: hidden;
  198. border: 1px solid #eee;
  199. }
  200.  
  201.  
  202. #sidebar6 img {
  203. width: 180px;
  204. position: absolute;
  205. margin-top: 0px;
  206. margin-left: 0px;
  207. min-height: 180px;
  208. }
  209.  
  210. #sidebar6 .desc {
  211. opacity: 1;
  212. position: absolute;
  213. margin-top: 10px;
  214. border: 1px solid #eee;
  215. margin-left: 10px;
  216. background: white;
  217. padding: 10px;
  218. width: 138px;
  219. z-index: 1000;
  220. overflow: hidden;
  221. height: 138px;
  222. transition: all 0.5s ease-out;
  223. -o-transition-transition: all 0.5s ease-out;
  224. -webkit-transition: all 0.5s ease-out;
  225. -moz-transition: all 0.5s ease-out;
  226. }
  227.  
  228. #sidebar6:hover .desc {
  229. opacity: 0;
  230. transition: all 0.5s ease-out;
  231. -o-transition-transition: all 0.5s ease-out;
  232. -webkit-transition: all 0.5s ease-out;
  233. -moz-transition: all 0.5s ease-out;
  234. }
  235.  
  236. #sidebar5 {
  237. position:fixed !important;
  238. width: 180px;
  239. height: 180px;
  240. background-color:white;
  241. margin-top: 100px;
  242. margin-left:470px;
  243. overflow: hidden;
  244. border: 1px solid #eee;
  245. }
  246.  
  247.  
  248. #sidebar5 img {
  249. width: 180px;
  250. position: absolute;
  251. margin-top: 0px;
  252. margin-left: 0px;
  253. min-height: 180px;
  254. }
  255.  
  256. #sidebar5 .desc {
  257. opacity: 0;
  258. position: absolute;
  259. margin-top: 10px;
  260. border: 1px solid #eee;
  261. margin-left: 10px;
  262. background: white;
  263. padding: 10px;
  264. width: 138px;
  265. z-index: 1000;
  266. overflow: hidden;
  267. height: 138px;
  268. transition: all 0.5s ease-out;
  269. -o-transition-transition: all 0.5s ease-out;
  270. -webkit-transition: all 0.5s ease-out;
  271. -moz-transition: all 0.5s ease-out;
  272. }
  273.  
  274. #sidebar5:hover .desc {
  275. opacity: 1;
  276. transition: all 0.5s ease-out;
  277. -o-transition-transition: all 0.5s ease-out;
  278. -webkit-transition: all 0.5s ease-out;
  279. -moz-transition: all 0.5s ease-out;
  280. }
  281.  
  282. .blogtitle a{
  283. font-size: 12px;
  284. line-height: 12px;
  285. font-family: georgia;
  286. letter-spacing: 2px;
  287. text-transform: lowercase;
  288. font-style: italic;
  289. color: {color:blog title};
  290. }
Advertisement
Add Comment
Please, Sign In to add comment