We would like to know how to change border when hover list.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
.sm-ul li:hover span {<!-- w w w . j av a 2 s . c o m-->
border: 1px solid grey;
}
</style>
</head>
<body>
<div class="short-menu">
<ul class="sm-ul">
<li><span class="search-icon"></span><span>Search</span></li>
<li><span class="setting-icon"></span><span>settings</span></li>
</ul>
</div>
</body>
</html>
The code above is rendered as follows: