Dediggefedde

CSS-fragment: round thumbs with text-hover

Nov 5th, 2013
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.73 KB | None | 0 0
  1. .image, .image a img{
  2.     width:200px!important;
  3.     height:200px!important;
  4.     border-radius:100px;
  5.     position:relative;  
  6.     overflow:hidden;
  7.     display:inline-block;
  8.     cursor:pointer;
  9. }
  10. span.shadow{
  11.     padding:0;
  12. }
  13. .credit{
  14.     border-radius:100px;
  15.     width:190px;
  16.     height:190px;
  17.     position:absolute;
  18.     top:5px;left:5px;
  19.     opacity:0;
  20.     display:inline-block;
  21.     background-color:rgba(100,100,100,0.8);
  22.    
  23.     background: linear-gradient(to bottom, rgba(236,178,156,0.5) 0%,rgba(118,35,2,1) 60%,rgba(190,109,77,1) 65%,rgba(236,178,156,0.5) 100%);
  24.    
  25. }
  26. .credittext{
  27.     width:190px;
  28.    
  29.     height:190px;
  30.     border-radius:100px;
  31.     display:table-cell;
  32.    
  33.     vertical-align:middle;
  34.     text-align:center;
  35. }
  36. .image:hover .credit{
  37.     opacity:1;
  38. }
Advertisement
Add Comment
Please, Sign In to add comment