B
B
blindtownblues2017-09-28 13:56:19
css
blindtownblues, 2017-09-28 13:56:19

What is the relationship between Photoshop's leading and line-height in css?

And if there is a connection, then how to calculate the line-height based on the leading.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dom1n1k, 2017-09-28
@dom1n1k

I mean, what's the connection? They are the same, equivalent concepts.
Although there is a slight difference - in css you can specify line-height in both absolute (20px) and relative units (1.25). In Photoshop, only absolute (px, pt).
But essentially it's the same thing.
Just leading - a semi-slang, historical name, which was formed from lead - lead. It may be unfamiliar to people not from the typographical environment, so in css it was called more straightforward.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question