I have a checkbox, although when clicked it does nothing, the css seems to be correct unless something has changed. It has a class appended to it.
This works when I remove the css although I think there is an error somewhere on the 'after'
- Please see on JSFiddle *
https://jsfiddle.net/bLg5juxd/
.form-flat-radio,
.form-flat-checkbox {
margin: 0;
cursor: pointer;
display: block;
position: relative;
padding: 0 0 0 30px;
}
.dh-ie .form-flat-radio,
.dh-ie .form-flat-checkbox {
padding: 0;
}
.form-flat-radio input,
.form-flat-checkbox input {
left: -9999px;
position: absolute;
}
.dh-ie .form-flat-radio input,
.dh-ie .form-flat-checkbox input {
position: relative;
left: auto;
}
.form-flat-radio i,
.form-flat-checkbox i {
background: none repeat scroll 0 0 #fff;
border-style: solid;
border-width: 1px;
display: block;
height: 17px;
left: 0;
outline: medium none;
position: absolute;
top: 5px;
border-color: #d5d5d5;
width: 17px;
top: 50%;
margin-top: -8.5px;
color: #1e1e1e;
}
.dh-ie .form-flat-radio i,
.dh-ie .form-flat-checkbox i {
display: none;
}
.form-flat-radio i:after,
.form-flat-checkbox i:after {
opacity: 0;
filter: alpha(opacity=0);
-webkit-transition: opacity 0.1s ease 0s;
-o-transition: opacity 0.1s ease 0s;
transition: opacity 0.1s ease 0s;
}
<div class="form-flat-checkbox pull-left">
<input type="checkbox" name="rememberme" id="rememberme" value="forever"><i></i> Remember Me
</div>