<!DOCTYPE html>
<html>
<head>
<style>
#checkbox {
position: absolute;
left: 0px;
top: 0px;
background: linear-gradient(to right, white, brown);
}
</style>
</head>
<body>
<div id="checkbox">
<input type="checkbox">
</div>
</body>
</html>