JSFiddle - React, Tailwind, and code Playground

by olli

HTML

<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0b2/jquery.mobile-1.0b2.min.css">
<script src="http://code.jquery.com/jquery-1.6.2.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0b2/jquery.mobile-1.0b2.min.js"></script>
<!DOCTYPE html> 
<html> 
    <head> 
        <meta charset="utf-8"> 
        <title>Test</title> 
    </head> 
    <body>        
        <div data-role="page" id="a">
            <div data-role="header">
                <h1>Test</h1>
            </div>
            <div data-role="content" id="content">
                <table class="sample">
                    <thead>
                        <tr>
                            <th>header 1</th>
                            <th>header 2</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>content 1</td>                        
                            <td>content 2</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </body>
</html>

CSS

table.sample {
    border-width: 1px;
    border-spacing: 2px;
    border-style: outset;
    border-color: gray;
    border-collapse: separate;
    background-color: white;
}
table.sample th {
    border-width: 1px;
    padding: 1px;
    border-style: inset;
    border-color: gray;
    background-color: white;
    -moz-border-radius: ;
}
table.sample td {
    border-width: 1px;
    padding: 1px;
    border-style: inset;
    border-color: gray;
    background-color: white;
    -moz-border-radius: ;
}