javascript - Activating overlay background when hovering over link -
i preparing layout blog , need make slideshow more or less follows: i'm able lot via css, have problem! images activate when mouse hovers on div , need image activated, or better, colored, when hovering on image link. could me out this? take code via bootply bootply i not know if via css or via javascript. tried more via javascript not know it. you need use pseudo-class :hover on parent of image , text. change opacity of image when hover on child of element. change this .img-box-feature:hover{opacity:1;} to this [class*="box-"]:hover .img-box-feature{opacity:1;} see updated bootply also, suggest change classes box-um , box-dois , , box-tres box . can use .box:nth-child() or .box:nth-of-type() target specific one.