CSS Reference

CSS – :invalid Selector

The :invalid selector selects form elements with a value that does not validate according to the element’s settings.

CSS Reference

CSS – :optional Selector

The :optional selector selects form elements which are optional (those without the required attribute).

CSS Reference

CSS – :out-of-range Selector

The :out-of-range selector selects elements with a value that is NOT within a specified range, and only works for input elements with min/max attributes.

CSS Reference

CSS – :read-only Selector

The :read-only selector selects form inputs which are “readonly” (those with a “readonly” attribute).

CSS Reference

CSS – :read-write Selector

The :read-write selector selects form inputs which are “readable” and “writeable” (those with no “readonly” or “disabled” attributes).

CSS Reference

CSS – :required Selector

The :required selector selects form inputs which are required (those with the required attribute).

CSS Reference

CSS – :valid Selector

The :valid selector selects form inputs with a value that properly validates according to the element’s settings.

CSS Reference

CSS – accent-color Property

The accent-color property specifies the accent color for user controls and indicators such as input elements, and the progress element.

CSS Snippets

CSS – Disable a Form Input

You may have a form field that auto populates information via JavaScript so you need to disable the input so that the user cannot change the value.

HTML
CSS
JavaScript
jQuery
PHP
SQL
WordPress
HTML
CSS
JavaScript
jQuery
PHP
SQL
WordPress

Why 1SMARTchicken?

This site was built and is maintained to benefit my autistic son.
See More →

My Son's Name is Johnny

He was diagnosed as autistic quite late, at age four...
His story

Buy Me a Coffee

Thanks for your support!

1SMARTchicken Icon