elisewhite

UTT (Slide-Out) - BL CSS

Dec 18th, 2013
3,398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. #container-bottom-left {
  2. position:fixed; /*don't change*/
  3. bottom:0px; /*don't change*/
  4. z-index:999; /*don't change*/
  5. left:10px; /*higher number = farther to right*/
  6.  
  7. /*transition speed: 0.1 = fastest and 1 = slowest*/
  8. -webkit-transition: all .7s ease-in-out;
  9. -moz-transition: all .7s ease-in-out;
  10. -o-transition: all .7s ease-in-out;
  11. }
  12.  
  13. #container-bottom-left:hover {
  14. bottom:150px; /*WHAT YOU WILL NEED TO CHANGE ACCORDING TO HOW MANY LINES OF TEXT YOU HAVE (higher number for more text)*/
  15.  
  16. /*transition speed: 0.1 = fastest and 1 = slowest*/
  17. -webkit-transition: all .7s ease-in-out;
  18. -moz-transition: all .7s ease-in-out;
  19. -o-transition: all .7s ease-in-out;
  20. }
  21.  
  22. #text-bottom-left {
  23. font-size:10px;
  24. font-family:calibri;
  25. text-align:center;
  26. width:100px; /*should match the image width*/
  27.  
  28. /*don't change anything below this*/
  29. padding:0px 0px 0px 0px;
  30. position:fixed;
  31. }
  32.  
  33. #image-bottom-left img {
  34. width: 100px; /*should match the text width*/
  35. height: auto; /*don't change*/
  36. }
Advertisement
Add Comment
Please, Sign In to add comment