Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Alexander Teterin
1,447 PointsWould you be so kind to tell what does this rule mean? I don't understand the sign "/". font: 1.05em/1.5
Would you be so kind to tell what does this rule mean?
I don't understand the sign "/".
font: 1.05em/1.5 'Raleway', sans-serif;
1 Answer
Steven Parker
243,656 PointsThe "font" setting is a shorthand for several other settings, including font-size and line-height.
According to the MDN page:
line-height must immediately follow font-size, preceded by "/", like this: "16px/3"
So in your example, "font-size" is 1.05em, and "line-height" is 1.5.