As of I know there is no sub-attribute like background-repeat
, margin-left
, border-bottom
for box-shadow
, text-shadow
CSS3 attributes. For more details, please refer: http://www.w3.org/TR/css3-background/#box-shadow .
The ‘box-shadow’ property attaches one or more drop-shadows to the box. The property is a comma-separated list of shadows, each specified by 2-4 length values, an optional color, and an optional ‘inset’ keyword. Omitted lengths are 0; omitted colors are a UA-chosen color.
Where
<shadow> = inset? && [ <length>{2,4} && <color>? ]
So, you can't give a sub-attribute like box-shadow-direction:2px 0;
after defining box-shadow
to an HTML element until it or similar sub-attribute came to live in next versions of CSS.