... | ... | @@ -211,6 +211,10 @@ Developers should avoid using the `any` type because it disables type checking a |
|
|
|
|
|
# HTML & CSS Style
|
|
|
|
|
|
## Style vs Class
|
|
|
|
|
|
The use of inline `styles` SHOULD be avoided. The UI developers should rather use the existing classes (e.g., PrimeFlex), or define their own classes within the style files. Using inline styles usually causes code duplication and makes it awkward to adjust styles because all occurrences must be located and updated.
|
|
|
|
|
|
## Naming
|
|
|
|
|
|
ID of HTML elements and CSS class names should obey English grammar. Words should be separated by dash (-). At the end of the name of ID there should be object. We do not need any specific prefix in the names.
|
... | ... | |