Primer CSS Boolean Attributes
Primer CSS is a free open-source CSS framework that is built upon systems that create the foundation of the basic style elements such as spacing, typography, and color. This systematic method makes sure our patterns are steady and interoperable with every other. Its approach to CSS is influenced by object-oriented CSS principles, functional CSS, and BEM architecture. It is highly reusable and flexible. It is created with GitHub’s design system.
Primer CSS Boolean Attributes are those attributes in which we do not need to set the value. If the boolean attribute is present then the value will be true and if it is absent then the value will be false.
Primer CSS Boolean Attributes Attributes:
- checked: This attribute is used to select the input.
- disabled: This attribute is used to disable the input.
- selected: This attribute is used to select the option from the given options.
<input type="checkbox" value="..." checked >
Example 1: This example demonstrates the implementation of Primer CSS Boolean attributes using radio input.
Example 2: This example demonstrates the implementation of Primer CSS Boolean Attributes.
Please Login to comment...