Why should line-height be unitless in CSS?

You might have heard that line-height should be unitless, but do you know why?


This content originally appeared on 30 seconds of code and was authored by 30 seconds of code

You might have heard that line-height should be unitless, but do you know why?


This content originally appeared on 30 seconds of code and was authored by 30 seconds of code


Print Share Comment Cite Upload Translate Updates
APA

30 seconds of code | Sciencx (2022-11-27T09:00:00+00:00) Why should line-height be unitless in CSS?. Retrieved from https://www.scien.cx/2022/11/27/why-should-line-height-be-unitless-in-css/

MLA
" » Why should line-height be unitless in CSS?." 30 seconds of code | Sciencx - Sunday November 27, 2022, https://www.scien.cx/2022/11/27/why-should-line-height-be-unitless-in-css/
HARVARD
30 seconds of code | Sciencx Sunday November 27, 2022 » Why should line-height be unitless in CSS?., viewed ,<https://www.scien.cx/2022/11/27/why-should-line-height-be-unitless-in-css/>
VANCOUVER
30 seconds of code | Sciencx - » Why should line-height be unitless in CSS?. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/11/27/why-should-line-height-be-unitless-in-css/
CHICAGO
" » Why should line-height be unitless in CSS?." 30 seconds of code | Sciencx - Accessed . https://www.scien.cx/2022/11/27/why-should-line-height-be-unitless-in-css/
IEEE
" » Why should line-height be unitless in CSS?." 30 seconds of code | Sciencx [Online]. Available: https://www.scien.cx/2022/11/27/why-should-line-height-be-unitless-in-css/. [Accessed: ]
rf:citation
» Why should line-height be unitless in CSS? | 30 seconds of code | Sciencx | https://www.scien.cx/2022/11/27/why-should-line-height-be-unitless-in-css/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.