Re: [csswg-drafts] [css-pseudo-4] `::nth-letter` pseudo-element (#3208)

It's possible to ask font designers to include these kinds of examples as single characters, but not likely to happen.

I tried `initial-letter` with a `<span>` and it doesn't work with two letters, nor does it work on inline elements (only block elements, which breaks the dropcap formatting). Here's a Codepen: https://codepen.io/severdia/pen/BapMMzx

I think it's an interesting idea to control it with a Unicode word joiner. That should work for all the use cases I can think of. Thanks!



-- 
GitHub Notification of comment by severdia
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3208#issuecomment-826367030 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 25 April 2021 18:19:44 UTC