preferred CSS measurements

Out of context: Reply #1

  • Started
  • Last post
  • 2 Responses
  • dpi0

    1. I don't think so
    2. rem for font sizes + paddings margins mostly. vh or vw for some cases. Like if I know that I want hero area to be screen height. Still use px for some cases.
    3. Not a developer here so don't know anything about rule. I believe that you should first use what ever works for you and what you feel comfortable working. Also depending a bit about your use case. Do you work alone or with group or do open source for wider audience.
    4. Love css grid. So bunch of new things like 1fr etc there what seem to work really good with modern more artsy looking websites what always don't follow traditional 980px 12 col grid with 20px caps. A lot of freedom and easy to change for various breakpoints.

View thread