This technique gives a possible implementation for CategoryBpStyleSheetsSize for the Mobile Web Best Practices Guidelines 1.0 Candidate Recommendation. CSS Level 1 provides a short notation for color units: "The three-digit RGB notation (#rgb) is converted into six-digit form (#rrggbb) by replicating digits, not by adding zeros. For example, #fb0 expands to #ffbb00." The code sample, for example, saves one or two percent of style sheet weight over #ffffff and #000000.
Code sample 1
background:#fff; color:#000;
Back to BestPracticesList
CategoryBpStyleSheetsSize CategoryBpMinimizeMarkup CategoryCss CategoryBpPageSizeLimit