I need a precise box-shadow
for a div
, and since Chrome and Firefox render it differently:
I've been trying to use browser-specific prefixes -moz-
and -webkit-
to tune values a bit. But no luck: -moz-
is for old versions of FF (up to 35), Chrome doesn't take the -webkit-
prefix either, they both render the now standard box-shadow
property. More interestingly it that if I keep only -moz-
and -webkit-
prefixes then FF uses the -webkit-
!
What can I do to adjust values separately for each browser?
The aim is to have a shadowed bottom border, but to avoid shadows from left and right sides of div
Here is Codepen.