using text-stroke to add a border to your text

this is quite good for webkit enabled browsers, and most of them are these days. 

Check what is supported:

https://caniuse.com/?search=webkit-text-stroke 

 

HTML

<h1 class='stroke-me'>Stroke'd Text Example</h1>

CSS

.stroke-me {
    -webkit-text-stroke: 2px #000;
    -webkit-text-fill-color: #FFF;
  	font-size:50px;
}

Stroke'd Text Example

Other Items in css

No Items Found.

Add Comment
Type in a Nick Name here
 
Page Views

This page has been viewed 42 times.

Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.

❤👩‍💻🕹

Random Quote
therock Somewhere along this crazy road I learned (often times the hard way) the most important things I can do is be authentic, trust my gut, be the hardest worker in the room, celebrate the mistakes, be a grateful man and always remember that it's nice to be important, but it's more important to be nice.
The Rock