I want to access text-shadow property just like we access padding property. Means ,
div{
padding : 10px 10px 10px 10px;
}
so we can access its each part individually like:
$('div').css("padding-left"); etc..
Now how i can access horizontalShadow, verticalShadow, Blur, shadowColor of a textshadow property individually?
You can’t. The specification only defines the
text-shadowproperty. It is not a shorthand property.If you want to change part of a text-shadow rule, then you must take the existing rule and modify it.