خرید بک لینک

Vote count: 0

currently trying edit my tumblr theme, and my goal is to have some type of overlay that darkens over the post images on upon hover. so basically, when you hover over the post it'll just tu dark so that you'll be able to see the text/ links i'll put over the image later. no matter what i do, i can't get the images to darken. (i was using the psuedo class :after to try to get the effect to work)

#posts {
overflow:hidden;
margin:10px;
width:250px;
opacity:.7;
-moz-transition: all 0.7s ease-in-out;  /* FF4+ */
-o-transition: all 0.7s ease-in-out;  /* Opera 10.5+ */
-webkit-transition: all 0.7s ease-in-out;  /* Saf3.2+, Chrome */
-ms-transition: all 0.7s ease-in-out;  /* IE10? */
transition: all 0.7s ease-in-out;  
}


#posts:hover{
opacity: 0.95;
}

#posts:hover img{
outline: 1px solid white;
outline-offset: -8px;
-moz-transition: all 0.9s ease-in-out;  /* FF4+ */
-o-transition: all 0.9s ease-in-out;  /* Opera 10.5+ */
-webkit-transition: all 0.9s ease-in-out;  /* Saf3.2+, Chrome */
-ms-transition: all 0.9s ease-in-out;  /* IE10? */
transition: all 0.9s ease-in-out; 
}

#posts:after img{
position: absolute;
color:black;
padding:20px;
opacity: 0;
transition: all 1s;
-webkit-transition: all 1s;
}

#posts:hover:after img {
opacity:1;

asked 30 secs ago

برچسب: نویسنده: استخدام کار تاريخ: يکشنبه 15 فروردين 1395 ساعت: 8:07

صفحه بندی