Skip to content

Instantly share code, notes, and snippets.

View rafaelsc's full-sized avatar

Rafael Sliveira Cordeiro rafaelsc

  • Vancouver - BC - Canada
  • 14:22 (UTC -08:00)
View GitHub Profile
@rafaelsc
rafaelsc / css-units-best-practices.md
Created March 22, 2018 01:46 — forked from basham/css-units-best-practices.md
CSS Units Best Practices

CSS units

Recommendations of unit types per media type:

Media Recommended Occasional use Infrequent use Not recommended
Screen em, rem, % px ch, ex, vw, vh, vmin, vmax cm, mm, in, pt, pc
Print em, rem, % cm, mm, in, pt, pc ch, ex px, vw, vh, vmin, vmax

Relative units

Relative units

@rafaelsc
rafaelsc / System Design.md
Created April 19, 2016 02:41 — forked from vasanthk/System Design.md
System Design Cheatsheet

#System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

##Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?