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

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable