HTML CSS examples for CSS Property:overflow
Css overflow visible and z-index
<html> <head> <title>Lorem ipsum dolor sit amet, cons</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> body {<!-- ww w. ja v a 2 s .c om--> background:Chartreuse; } .wrapper { white-space:nowrap; } .wrapper .field { width:100px; overflow:hidden; display:inline-block; } .wrapper .field:hover { position:relative; overflow:visible; } .wrapper .field span { background:yellow; } </style> </head> <body> <div class="wrapper"> <span class="field"> <span>Lorem ipsum dolor sit amet, consectetur adipiscing </span> </span> <span class="field"> <span>Lorem ipsum dolor sit amet, consectetur adipiscing </span> </span> </div> </body> </html>