<!DOCTYPE html> | |
<html> | |
<!-- | |
| Overflow hidden applied to elements with 'display' set to 'block'. | |
| https://www.w3.org/TR/CSS21/visufx.html | |
--> | |
<head> | |
<style> | |
body { | |
font-family: Roboto; | |
font-size: 16px; | |
} | |
span { | |
display: block; | |
overflow: hidden; | |
height: 3.5em; | |
width: 10em; | |
color: #FF0000; | |
} | |
</style> | |
</head> | |
<body> | |
<div> | |
<span> Overflow applied to elements with 'display' set to 'block'. This sentence would be cut somewhere.</span> | |
</div> | |
</body> | |
</html> |