blob: b3d55c7af09b6b1e84392f4eb4d4559ae5b36989 [file] [log] [blame]
<html>
<head>
<style>
input:indeterminate {
opacity: 0.5;
}
input:checked {
opacity: 1.0;
}
</style>
</head>
<body>
<input type=checkbox id="one"> This checkbox should look 50% transparent and should
be in the mixed state.
<script>
document.getElementById('one').indeterminate = true
</script>
</body>
</html>