Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
356 views
in Technique[技术] by (71.8m points)

html - CSS First Letter Highlighting

I understand that with CSS formatting the first letter of each paragraph is possible via:

p:first-letter
{
font-size:20px;
}

However upon using this code it is impossible to highlight/select these "First Letters" from the web browser, is there a way to amend this?

Edit - It is possible to select the text, however it isn't shown visually, how can I change this?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

This is a bug in Chrome/ium/WebKit: https://code.google.com/p/chromium/issues/detail?id=17528


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...