![]() |
VOOZH | about |
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:
Syntax:
<input type="checkbox" value="..." checked >
Example 1: This example demonstrates the implementation of Primer CSS Boolean attributes using radio input.
Output:
Example 2: This example demonstrates the implementation of Primer CSS Boolean Attributes.
Output:
Reference: https://primer.style/#boolean-attributes