checked Selector
CSS checked Selector reference
The CSS checked pseudo selector ( X:checked { } ) is used to target elements that have a "checked" state.
CSS CODE EXAMPLE
<!DOCTYPE html>
<style type="text/css">
input:checked {
cursor:crosshair;
}
</style>
<input type="checkbox" name="cb1">
<input type="checkbox" name="cb2" checked="checked">
<style type="text/css">
input:checked {
cursor:crosshair;
}
</style>
<input type="checkbox" name="cb1">
<input type="checkbox" name="cb2" checked="checked">
0 Response to "checked Selector"
Post a Comment