| <!DOCTYPE html> | |
| <!-- | |
| | If an inline box cannot be split (e.g., if language-specific word breaking | |
| | rules disallow a break within the inline box), then the inline box overflows | |
| | the line box. | |
| | https://www.w3.org/TR/CSS21/visuren.html#inline-formatting | |
| --> | |
| <html> | |
| <head> | |
| <style> | |
| body { | |
| font-family: Roboto; | |
| font-size: 100px; | |
| font-weight: bold; | |
| } | |
| .containing-block { | |
| background-color: #03a9f4; | |
| width: 200px; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="containing-block">Shevchenko</div> | |
| </body> | |
| </html> |