Changeset 11023 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-patterns/css/README.md
- Timestamp:
- 06/10/2021 07:00:05 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-patterns/css/README.md
r10592 r11023 1 1 # CSS Structure 2 2 3 This loosely follows [ITCSS.](https://www.xfive.co/blog/itcss-scalable-maintainable-css-architecture/) 3 This loosely follows [ITCSS](https://www.xfive.co/blog/itcss-scalable-maintainable-css-architecture/) in folder structure, and [Gutenberg's CSS naming scheme](https://github.com/WordPress/gutenberg/blob/trunk/docs/contributors/code/coding-guidelines.md) for class names. 4 5 Generally components will use `pattern-{kebab-case-component}` for the top-level export, and `pattern-{kebab-case-component}__{child-element}` for any children classes. Conditional classes, for loading state or active state, should use an `is-` or `has-` prefix. 4 6 5 7 ## 01 Settings
Note: See TracChangeset
for help on using the changeset viewer.