Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

text outline in css

-webkit-text-stroke: 1px red;

/*
	1px is the text outline width and red is the color.
	NOTE: This may be invisible to Microsoft Edge, FireFox and some other
	browsers so, it is wise to use the text-shadow technique instead.

	text-shadow: -1px -1px 0 red, 1px -1px 0 red, -1px 1px 0 red, 1px 1px 0 red;
*/
Source by css-tricks.com #
 
PREVIOUS NEXT
Tagged: #text #outline #css
ADD COMMENT
Topic
Name
1+3 =