Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.95 KB | None | 0 0
  1. .portfolio-item {
  2.     position: relative;
  3. }
  4.  
  5. .portfolio-item-overlay-inner {
  6.     display: none;
  7. }
  8.  
  9. .kl-ptf-catlist-details {
  10.     display: -webkit-box;
  11.         display: -ms-flexbox;
  12.             display: flex;
  13.     -webkit-box-align: center;
  14.         -ms-flex-align: center;
  15.             align-items: center;
  16.     -webkit-box-orient: vertical;
  17.     -webkit-box-direction: normal;
  18.         -ms-flex-direction: column;
  19.             flex-direction: column;
  20.     -webkit-box-pack: center;
  21.         -ms-flex-pack: center;
  22.             justify-content: center;
  23.     position: absolute;
  24.     top: 0;
  25.     left: 0;
  26.     width: 100%;
  27.     height: 100%;
  28.     opacity: 0;
  29.     padding: 40px;
  30.     background: rgba(0, 0, 0, 0.63);
  31.     text-align: center;
  32.     color: rgba(255, 255, 255, 0.8);
  33.     transition: opacity 0.3s;
  34. }
  35.  
  36. .portfolio-item:hover .kl-ptf-catlist-details {
  37.     opacity: 1;
  38. }
  39.  
  40. .kl-ptf-catlist-title a,
  41. .kl-ptf-catlist-title a:hover {
  42.     color: #fff;
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement