jQuery Mobile: Mini Size Checkbox

This entry is part 14 of 73 in the series jQuery Mobile

To create a mini size checkbox, we need to add


The code is as show below:

<!DOCTYPE html>
    <link href='http://code.jquery.com/mobile/1.4.0/jquery.mobile-1.4.0.min.css' rel='stylesheet'/>
    <script src='http://code.jquery.com/jquery-1.10.2.min.js'></script>
    <script src='http://code.jquery.com/mobile/1.4.0/jquery.mobile-1.4.0.min.js'></script>
<div data-role='page'>
    <div data-role='header'><h1>Mini Size Checkbox</h1></div>
    <p>Mini Size Check Box</p>
        <input type='checkbox' name='checkbox_mini' id='checkbox_mini' data-mini='true'>
        <label for='checkbox_mini'>I agree</label>

    <div data-role='footer' data-position='fixed'>
Try The Code
Series Navigation<< jQuery Mobile: Basic Check Box
jQuery Mobile: Vertically Grouped Checkbox >>