How To Make Font Border Of A Different Color Css Code Example


Example 1: how to make border for letters in css


h1 {
/* 1 pixel black shadow to left, top, right and bottom */
text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;

font-family: sans; color: yellow;
}

Example 2: how to make border for letters in css


h1 {
-webkit-text-stroke: 2px black; /* width and color */

font-family: sans; color: yellow;
}

Comments

Popular posts from this blog

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

C Perror Example

Converting A String To Int In Groovy