jQM Article - Change page CSS
by sebababi
HTML
<link rel="stylesheet" href="http://jeromeetienne.github.com/jquery-mobile-960/css/jquery-mobile-fluid960.css">
<script src="http://timeago.yarp.com/jquery.timeago.js"></script>
<script src="http://imakewebthings.github.com/jquery-waypoints/waypoints.min.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css" />
<!--<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>-->
<script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
</head>
<body>
<div data-role="page" id="index">
<div data-theme="b" data-role="header">
<h1>Index page</h1>
</div>
<div data-role="content">
<div id="onlineButton"><input type="button" value="Book Online"/></div>
<div id="offlineButton"><input type="button" value="Book Online"/></div>
</div>
</div>
</body>
</html>
CSS
#onlineButton .ui-btn {
background: #00ff00;
color: #000;
}
#offlineButton .ui-btn {
background: #ff0099;
color: #000;
}
#customButton .ui-btn :hover{
background:#000;
color: #fff;
}