Basic example

by Dominik Wilk

HTML

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
</head>
<body>
  <input type="checkbox">
</body>
</html>

CSS

input:checked {
  box-shadow: 1px 1px 1px re
}