Skip to content

Instantly share code, notes, and snippets.

@Lego2012
Last active July 16, 2017 23:27
Show Gist options
  • Save Lego2012/c936228625a620785c8887ff0c971fed to your computer and use it in GitHub Desktop.
Save Lego2012/c936228625a620785c8887ff0c971fed to your computer and use it in GitHub Desktop.
Aktive Checkboxen oder Radioboxen werden mit einem Rand dargestellt. Werden diese abgewählt, verschwindet der Rahmen automatisch. Folgend gibt es auch noch die Pseudoklassen :enabled und :disabled, die deaktivierte oder aktivierte Elemente selektiert.
input:checked {
border: 1px solid;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment