albert.walickihire me
← all tips
css

Required or not?

Style required inputs out of the box: add the required attribute and target the input with the CSS :required pseudo-class selector.

Attribute required can be styled with :required pseudo class selector

CSS allows us to style required inputs out of the box! All you need to do is to add the required attribute and then style your input with the :required pseudo-class selector.

more tips
work with me

Got something that needs building?

Frontend builds, full-stack features in Django, design-system work. Available for work.

See my workGet in touch