Ng-Mouseenter-8

 

Ng-Mouseenter-8

 
 
 
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.2/angular.min.js"></script> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> <style> .level1 { height: 200px; width: 250px; } .level2 { height: 300px; width: 350px; } .level3 { height: 400px; width: 450px; } .level4 { height: 500px; width: 550px; } .border { border: 1px solid gray; } </style> </head> <body ng-app=""> <div class="container"> <div class="row"> <div class="col-md-2"></div> <div class="col-md-8 well"> <div class="level4 border" ng-style="style" ng-mouseenter="style={'border':'none'}"> <div class="level3 border" ng-style="style1" ng-mouseenter="style1={'border':'none'}"> <div class="level2 border" ng-style="style2" ng-mouseenter="style2={'border':'none'}"> <div class="level1 border" ng-style="style3" ng-mouseenter="style3={'background-color':'green'}"></div> </div> </div> </div> </div> <div class="col-md-2"></div> </div> </div> </body> </html>
Output