treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Jerad

  • Please explain this code to me-ems and px

    1) The 1.5 is the line height. Check it out. 1.5 is the same as 150%. So in this case, if the font-size is 16px, a line-height of 1.5 = 24px. 2) 32px = 28px * 1.1429. (It's actually 32.0012, but close enough.)
    Comment by Jerad December 2012 permalink