1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<!DOCTYPE HTML> <style type="text/css"> div { height: 200px; width: 200px; overflow: hidden; text-shadow: 100px 100px 30px black; font-size: 50px; font-weight: bold; } /* work around potential font overflow */ span { margin-left: 5px } </style> <div> <span>text</span> </div>