Home › Forums › CSS › CSS effect for the image › Reply To: CSS effect for the image
September 22, 2018 at 6:09 pm
#276884
wanderval
Participant
Hi dani555,
I did a fork and I solve the effect problem. your code it perfect I did only some adjustment
-the main problem was the image element container, it’s bigger than image
-the second problem it do you forgotten of one css rule
:after, :before {
box-sizing: border-box;
}
https://codepen.io/wanderval/pen/MqRoOz#code-area
I wait have help you.