It will not work if its any other display value - eg flex.
p :: first-letter Ī thing to keep in mind is that ::first-letter pseudo element works ONLY on elements with a display value of block, inline-block, table-cell, list-item or table-caption. This sentence has the first letter capitalized.