<html>
<head>
<style>
div.a {
white-space: nowrap;
width: 100px;
overflow: hidden;
text-overflow:ellipsis;
border: 1px solid #000000;
}
div.a:hover {
overflow: visible;
}
</style>
</head>
<body>
<h1>The text-overflow Property</h1>
<p>Hover over the div below, to see the entire text.</p>
<div class="a">This is some long text that will not fit in the box.</div>
</body>
<!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss3_text-overflow_hover by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 05 Jun 2019 14:01:37 GMT -->
</html>