I am trying to achieve a specific font style. If it's not possible, I would like to get as close as possible to the desired style. However, due to IE support requirements, I am unable to use text-stroke
.
https://i.sstatic.net/JwQyb.png
The closest approach I have found so far is using multiple text-shadow
attributes, for example:
h1 {
color: #2e536f;
font-weight: bold;
font-family: sans-serif;
font-size: 7em;
text-transform: uppercase;
text-shadow:
-1px -1px 0 #fff,
1px -1px 0 #fff,
-1px 1px 0 #fff,
1px 1px 0 #fff,
-2px -5px 0px #ff7c7c;
}
body {
background: #2e536f;
}
<h1>Zwei</h1>
Although this method accomplishes multiple tasks, I am struggling with making the color transparent to reveal the text shadow beneath.
How can I overcome this challenge?