I want to apply two box-shadows with a 90 degree angle to my input field, so I expect the shadows to be only at the top and bottom borders, but not at the left and right borders. Instead, there is a dark inset shadow on the left that I can’t get rid of (see Fiddle). Any ideas?
I want to apply two box-shadows with a 90 degree angle to my input
Share
What do you mean by unwanted? you are using
inset,so if you want top and left shadow outside of your input field do it like this insteadDemo
CSS
And if you want to give
insetto just top and bottom do it like thisInset Top Bottom Demo
CSS
Note: I’ve added borders, you can remove though