# How to apply an outline for a letter?

**URL:** <https://forum.freecodecamp.org/t/how-to-apply-an-outline-for-a-letter/445535>\
**Category:** Curriculum Help\
**Tags:** html, css\
**Created:** [February 10, 2021, 4:13pm UTC](https://forum.freecodecamp.org/t/how-to-apply-an-outline-for-a-letter/445535 "2021-02-10T16:13:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Porphyrogennitos](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/porphyrogennitos/32/199823_2.png) [@Porphyrogennitos](https://forum.freecodecamp.org/u/Porphyrogennitos)\
**Post date:** [February 10, 2021, 4:13pm UTC](https://forum.freecodecamp.org/t/how-to-apply-an-outline-for-a-letter/445535/1 "2021-02-10T16:13:51Z")

</div>

[CodePen](https://codepen.io/Porphyrogennitos/pen/wvoWbzr?editors=1100).

 ![Screenshot 2021-02-10 175120](https://global.discourse-cdn.com/freecodecamp/original/3X/3/b/3b981c3044a946279323e8efefa19cf7ddc47e66.png)

I searched in Stack Overflow but I didn’t find the answer.

---

<div class="post-metadata">

**Author:** ![ArielLeslie](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/arielleslie/32/264841_2.png) [@ArielLeslie](https://forum.freecodecamp.org/u/ArielLeslie)\
**Post date:** [February 10, 2021, 4:28pm UTC](https://forum.freecodecamp.org/t/how-to-apply-an-outline-for-a-letter/445535/2 "2021-02-10T16:28:52Z")

</div>

You could create an efect like that with the `text-shadow` property.

I also found these:

- [Adding Stroke to Web&nbsp;Text | CSS-Tricks](https://css-tricks.com/adding-stroke-to-web-text/)
- [https://www.codesdope.com/blog/article/adding-outline-to-text-using-css/](https://www.codesdope.com/blog/article/adding-outline-to-text-using-css/)
- [CSS outline Property](https://www.w3schools.com/cssref/pr_outline.asp)

I haven’t tried doing this, so I can’t offer more specific advice than is in those articles.

---

<div class="post-metadata">

**Author:** ![jwilkins.oboe](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jwilkins.oboe/32/179497_2.png) [@jwilkins.oboe](https://forum.freecodecamp.org/u/jwilkins.oboe)\
**Post date:** [February 10, 2021, 4:40pm UTC](https://forum.freecodecamp.org/t/how-to-apply-an-outline-for-a-letter/445535/3 "2021-02-10T16:40:47Z")

</div>

HI @Porphyrogennitos !

I experimented with the webkit text stroke and I think it works well for certain fonts.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [August 12, 2021, 4:41am UTC](https://forum.freecodecamp.org/t/how-to-apply-an-outline-for-a-letter/445535/4 "2021-08-12T04:41:12Z")

</div>

Closed on August 12, 2021, 4:41am UTC

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
