I use Binner Di Regular
font.
Here are two example images. The first one shows an original Binner Di Regular
font. The second one show the same font with Photoshop effects. So is it possible to get such an effect using CSS only? Or how can I get such a text other way then CSS?
Original Binner Di Regular
:
Binner Di Regular
with Photoshop effects:
4
Answers
This is mostly possible through use of the
text-shadow
propertyWebkit browsers
If you’re only targeting webkit browsers, then you could make use of the
-webkit-text-stroke-
property.You can use the text-shadow CSS property
Webkit-only Solution
In Webkit-based browsers we can make use of the
-webkit-text-stroke
and-webkit-fill-color
properties alongsidetext-shadow
.This works in Chrome, Safari, Opera, iOS Safari, Android Browser and Chrome for Android (Can I Use…).
You can use text-shadow in this way :
By adding multiples shadow, you can emulate a border on the text and adding a real shadow.