Skip to content

CSS Checklist

See Writing CSS for full documentation.

Responsive

  • CSS written mobile-first
  • In extremely wide viewports, the edges of backgrounds are not visible
  • In extremely wide viewports, content is restricted to $max-width
  • In narrow viewports, content stacks in a logical reading order
  • Conditional content displays under correct conditions (logged in, out, Fx, not Fx)

Best Practices

Localization

  • Test in an RTL language (You may find the Pseudolocalize addon helpful.)
  • BIDI mixin used for any properties which include left or right
  • BIDI mixin used for any values which include left or right
  • BIDI mixin used for any properties which assume LTR (e.g. background-position, shorthands like border-width)