css - What is a top shadow for text? -


i got requirement text looks this:

top shadow: 2px, #000, 75%

what mean? text-shadow? what's 75% mean?

it not valid text-shadow.

may need such example (with correct syntax):

text-shadow: 0 0 2px rgba(0, 0, 0, .75); 

or

text-shadow: 0 2px 2px rgba(0, 0, 0, .75); /* down shadow */ 

notes:
rgba(0, 0, 0, .75) = #000 75% opacity

updates: @xander found technique asked about. in box-shadow css generated content using:

body:before {     content: '';     position: fixed;     top: -1px;     left: 0;     width: 100%;     height: 1px     -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, .75);             box-shadow: 0 2px 2px rgba(0, 0, 0, .75);     z-index: 100; } 

Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - EclipseLink JPA Object is not a known entity type -

java - Need to add SOAP security token -