HTML CSS examples for CSS Widget:UL
Showing CSS Transitions on multiple Div IDs
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #box {<!-- ww w . jav a 2s. co m--> position:absolute; width:51px; height:51px; background-color:Chartreuse; -webkit-transition:0.4s; transition:0.4s; } #box:hover + #display { background-color:yellow; visibility:visible; -ms-transform:scale(3) rotate(8deg) scale(0.6,0.6); -webkit-transform:scale(2.2) rotate(8deg) scale(0.6,0.6); transform:scale(2.2) rotate(8deg) scale(0.6,0.6); } #display { position:absolute; top:81px; height:301px; width:501px; visibility:hidden; -webkit-transition:0.4s; transition:0.4s; } </style> </head> <body> <div id="box"> </div> <div id="display"> </div> </body> </html>