My dilemma arises from having 2 css classes, each defining different shadow effects for my elements
.classA{box-shadow:inset -2px 0px 0px 0px rgba(63,191,31,1);}
.classB{box-shadow:inset -2px 0px 0px 0px rgba(204,29,29,1);}
I am looking to introduce a third class that alters the inset without changing the color
.classC{box-shadow:inset -10px 0px 0px 0px;}
While this solution provides the desired shadow effect, it unfortunately changes the color to black. My goal is to retain the original color.
Is there a way to adjust the shadow properties using CSS ONLY while preserving the color?