![]() |
Primer CSS Utilities gives the structure blocks to design and deal with a reach of normal use cases that assist us with trying not to compose custom styles. At the point when we really want to add some edge or cushioning, instead of adding another selector intended for that utilization case, we can utilize utilities. This assists us with diminishing the number of novel property-estimation coordinates and assists us with keeping more reliable styles across the site. Primer CSS Utilities:
Note: There are 11 utilities in Primer CSS all of them have individual articles for understanding, how to use them and where to use them. Below examples illustrates Primer CSS Utilities: Example 1: In this example, we will use the Primer CSS Animation utility. HTML
Output: ![]() Primer CSS Animation Utility Example 2: In this example, we will use the Primer CSS Details utility. HTML
Output: ![]() Primer CSS Detail Utility Note: For more examples of other utilities you can visit those individual articles. Reference: https://primer.style/css/utilities |
Reffered: https://www.geeksforgeeks.org
CSS |
Related |
---|
![]() |
![]() |
![]() |
![]() |
![]() |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 12 |