JSFiddle - React, Tailwind, and code Playground

by linoskoczek

HTML

<script src="http://fonts.googleapis.com/css?family=Roboto:400,500,300"></script>
<input id="tel" type="tel" placeholder="Numer telefonu" />
<select id="op">
    <option>Operator</option>
    <option>Orange</option>
    <option>T-Mobile</option>
    <option>Play</option>
    <option>Plus</option>
</select>
<input type="radio" checked="checked" id="ad_sense" class="css-checkbox side-ad" />
<label id="bannerGoogle" for="ad-sense" class="side-ad css-label radGroup1">AkceptujÄ™ informacje handlowe oraz regulamin.</label>
<button id="bat">Dalej</button>

CSS

@import url(http://fonts.googleapis.com/css?family=Roboto:400, 500, 300);
 body {
    margin: 10px auto;
    text-align: center;
    font-family: Roboto, Arial, sans-serif;
}
input:not(#rul), select, button {
    background: #FFF;
    display: block;
    margin: 10px auto;
    max-width: 95%;
    text-align: center;
    border: 1px solid #00b897;
    border-radius: 3px;
}
input:hover, select:hover, button:hover {
    box-shadow: 0 0 6px #ccc;
}
input:not(#rul) {
    width: 300px;
    max-width: 95%;
    padding: 10px;
}
select {
    text-align: center;
    padding: 10px;
    color: #808080;
    width: 322px;
}
button {
    width: 322px;
    padding: 10px;
    color: #FFF;
    background-color: #00b897;
}
span {
    font-size: 0.7em;
}
input[type=radio].css-checkbox {
    position:absolute;
    z-index:-1000;
    left:-1000px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height:1px;
    width:1px;
    margin:-1px;
    padding:0;
    border:0;
}
input[type=radio].css-checkbox + label.css-label {
    padding-left:26px;
    height:20px;
    display:inline-block;
    line-height:20px;
    background-repeat:no-repeat;
    background-position: 0 0;
    font-size:0.7em;
    vertical-align:middle;
    cursor:pointer;
}
input[type=radio].css-checkbox:checked + label.css-label {
    background-position: 0 -20px;
}
label.css-label {
    background-image:url(http://csscheckbox.com/checkboxes/u/csscheckbox_8057db35801269ba2c626e2b2995936b.png);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
::-webkit-input-placeholder {
    /* WebKit browsers */
    color: #808080;
}
:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #808080;
    opacity: 1;
}
::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #808080;
    opacity: 1;
}
:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: #808080;
}