JSFiddle - React, Tailwind, and code Playground

by Alex Zavgorodniy

HTML

<input type="checkbox" id="radio-checkbox" class="css-checkbox">
<label for="radio-checkbox" class="css-label">Двухпалубные</label>

CSS

input[type=checkbox].css-checkbox { display:none; }
input[type=checkbox].css-checkbox + label.css-label {
	padding-left:25px;
	height:20px; 
	display:inline-block;
	background-repeat:no-repeat;
	background-position: 0 0;
	font-size:13px;
	cursor:pointer;
	color: #000;
	margin: 7px 30px 6px 0px;
}
input[type=checkbox].css-checkbox:checked + label.css-label { background-position: 0 -50px; }
label.css-label {
	background-image:url('http://ruseller.com/lessons/les546/example/checkbox.gif');
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}