This is an archive of an inactive wiki and cannot be modified.

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


Back to BestPracticesList

CategoryBpStyleSheetsSize CategoryBpMinimizeMarkup CategoryCss CategoryBpPageSizeLimit

Contributions to this wiki are governed by the W3C policies for Contribution to W3C' wiki on Mobile Web.