Answer the question
In order to leave comments, you need to log in
How to remove glitches with the box-shadow property in css?
Hello, I made an element, when you hover over it, it should have a shadow below and on the right. I did it with hover and the transition property:
.partners_column_item_img{
margin-bottom: 30px;
padding: 30px 0;
cursor: pointer;
transition: all 0.25s linear 0s;
}
.partners_column_item_img:hover{
box-shadow:
1px 0px rgb(209,209,209), 1px 1px rgb(146,147,150),
2px 1px rgb(208,208,208), 2px 2px rgb(145,146,149),
3px 2px rgb(207,207,207), 3px 3px rgb(144,145,148),
4px 3px rgb(206,206,206), 4px 4px rgb(143,144,147);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question