elisewhite

UTT (Appearing) - BR CSS

Dec 17th, 2013
5,300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. #container-bottom-right {
  2. /*don't change anything*/
  3. position:fixed;
  4. right:0px;
  5. bottom:0px;
  6. z-index:999;
  7. }
  8.  
  9. #container-bottom-right:hover #text-bottom-right {
  10. opacity:1; /*don't change*/
  11. /*transition speed: 0.1 = fastest and 1 = slowest*/
  12. -webkit-transition: all .7s ease-in-out;
  13. -moz-transition: all .7s ease-in-out;
  14. -o-transition: all .7s ease-in-out;
  15. }
  16.  
  17. #text-bottom-right {
  18.  
  19. /*you can change the things below this*/
  20. font-size:10px;
  21. font-family:calibri;
  22. text-align:center;
  23. width:125px; /*how wide the text spans*/
  24. bottom:30px; /*higher number = farther down on page*/
  25. right:100px; /*lower number = closer to image; beware: don't make this number higher than the image width or your text will be on top of your image*/
  26.  
  27. /*don't change anything below this*/
  28. padding:0px 5px 0px 5px;
  29. position:fixed;
  30. opacity:0;
  31.  
  32. /*transition speed: 0.1 = fastest and 1 = slowest*/
  33. -webkit-transition: all .7s ease-in-out;
  34. -moz-transition: all .7s ease-in-out;
  35. -o-transition: all .7s ease-in-out;
  36.  
  37. }
  38.  
  39. #image-bottom-right img {
  40. width: 100px; /*higher number = larger image; if you change this, make sure you change the "left:100px" style under #text-top-left, or else your text will be on top of your image*/
  41.  
  42. /*don't change anything below this*/
  43. height: auto;
  44. bottom:0px;
  45. right:0px;
  46. }
Advertisement
Add Comment
Please, Sign In to add comment