<label class="btn"><input type="checkbox" class="cht" /><span></span>Sign up</label>
.btn {
overflow:hidden;
position:relative;
}
.btn input {
visibility: hidden;
position:absolute;
left:-100%;
}
.btn span {
display:inline-block;
position: relative;
width:32px;
height:32px;
border: 1px solid red;
margin-right:8px;
}
.btn span:before {
content:"";
transition: all 0.25s ease;
opacity:0;
position: absolute;
background-color: red;
width:16px;
height:16px;
left: 8px;
top:8px;
}
.btn input:checked + span:before {opacity:1;}
ini_set('error_reporting', E_ALL);
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
$mess = 'https://api.telegram.org/bot***BOT_TOKEN***/getUpdates';
$com = file_get_contents($mess);
$com1 = json_decode($com);
$mess = end($com1->result)->message;
if (is_numeric($mess->chat->id) {
$send = 'https://api.telegram.org/bot***BOT_TOKEN***/sendMessage?'
.'chat_id=' . $mess->chat->id
.'reply_to_message_id=' . $mess->id
.'&text=' . $mess->text;
file_get_contents($send);
}