HTML CSS examples for CSS Layout:Text
Crop text and hide text using CSS via <p> hover selector
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #Yo:hover<!-- w ww.ja v a2 s . co m--> { display:none; } p { float:left } </style> </head> <body> <p id="Yo">Yo</p> <p>u are a noob</p> </body> </html>