How to give text an inner shadow with CSS
On: May 13, 2012 By: Travis Millward In: Django , Web , Web Development
This is how I did it...
color: #38738f;
color: rgba(17,59,88,0.8);
text-shadow: -1px -1px 3px #fff, 0px 0px 1px #000;
h2 {color: #38738f; color: rgba(17,59,88,0.8); text-shadow: -1px -1px 3px #fff, 0px 0px 1px #000;}
which produced...
notice: I gave the h2 a fallback color for when the browser doesn't support rgba values. But most do now :)
Posted in: Django , Web , Web Development