Expand Minimize

CSL308824: Use shorthand properties in CSS

This rule is aimed at decreasing file size by finding properties that can be combined into one. As such, it warns in the following cases: when margin-left, margin-right, margin-top, and margin-bottom are used together in a single rule or when padding-left, padding-right, padding-top, and padding-bottom are used together in a single rule.

CheckId CSL308824
TypeName UseShorthandPropertiesInCSS
Severity CriticalWarning
Type CSSFile
Disclaimer: The views and opinions expressed in this documentation and in SPCAF do not necessarily reflect the opinions and recommendations of Microsoft or any member of Microsoft. SPCAF and RENCORE are registered trademarks of Rencore. All other trademarks, service marks, collective marks, copyrights, registered names, and marks used or cited by this documentation are the property of their respective owners.