Line 4: | Line 4: | ||
.img-with-text .text { | .img-with-text .text { | ||
position:absolute; | position:absolute; | ||
− | |||
display:none; | display:none; | ||
color: rgb(1, 154, 200); | color: rgb(1, 154, 200); | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
.img-with-text:hover .text { | .img-with-text:hover .text { | ||
display: block; | display: block; | ||
+ | transition: all ease-in-out 0.5s; | ||
} | } | ||
Line 20: | Line 16: | ||
filter: grayscale(1); | filter: grayscale(1); | ||
opacity: 0.2; | opacity: 0.2; | ||
− | transition: opacity ease-in-out | + | transition: opacity ease-in-out 0.5s; |
} | } | ||
</style> | </style> |
Revision as of 11:34, 18 October 2016