Monday, June 1, 2015

text-shadow is kinda like box-shadow, only for text

text-shadow: rgba(0, 0, 0, 0.5) 0 0 15px;

We have the offsets like box-shadow followed by a fatness. When a color is given as an rgba value in CSS3 the r stands for red, the g stands for green, the b stands for blue, and the a stands for... ALPHA! The alpha setting denotes how opaque or transparent the thing being colored is allowing it to be partially see-through.

No comments:

Post a Comment