<div class="mySlides fade">
<img src="images/homepage1/youth_academy_black_history_2.JPG"
style="width:100%">
<div class="text" style="color:black">Youth Academy</div>
The above code produces a picture with black text. Lets say I want a stroke(multicolor) ie black with silver outline of the text. In photoshop its called stroke. Can I do this in html code??
3
Answers
something like this could work
or
Hope this code helps you. In CSS you can use the
text-stroke
property to achieve this effect. All the Best!The font-size has been increased in order to reflect the effect of text-stroke property of CSS. You may handle the font-size as per your convenience. Please let me know if this answer helps. Also, you could refer to https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-text-stroke link to study more about it.