Set hover state for button
Description
The following code shows how to set hover state for button.
Example
<!DOCTYPE html>
<html>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet"
href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script>
</script>
<script
src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
<style>
.ui-navbar li a:hover {<!--from w w w . j a v a 2s. c o m-->
background: red !important;
}
</style>
</head>
<body>
<div data-role="page">
<div data-role="header">
<h1>Page Title</h1>
</div>
<!-- /header -->
<div data-role="content">
<div data-role="navbar" style="width: 80%; padding: 2% 10%;">
<ul>
<li><a href="#" class="ui-btn-active ui-corner-left"
data-theme="e">One</a></li>
<li><a href="#" data-theme="e">Two</a></li>
<li><a href="#" class="ui-corner-right" data-theme="e">Three</a></li>
</ul>
</div>
</div>
<!-- /content -->
</div>
<!-- /page -->
</body>
</html>