1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<title>::first-letter and overflow</title> <style> div { height: 3em; width: 8em; padding: 3px; background: yellow; color: black; overflow: hidden; line-height: 1.0; } div::first-letter { font-size: 6em; float: left; } </style> <div>Hello</div>