::first-letter pseudo-element not working in firefox

前端 未结 3 1594

I cannot for the life of me figure this one out. I just want to style the dollar sign to be a different color and I would like to avoid using another element around the dol

3条回答
  •  再見小時候
    2021-01-14 06:36

    Everything works as it should do: ::first-letter selects the first letter, but "$" is not a letter but a special character.

提交回复
热议问题