0

Can em be used elsewhere apart from fonts?

10th Aug 2016, 10:51 PM
Ogbonna Vitalis
Ogbonna Vitalis - avatar
8 Answers
0
Yes it can be used anywhere not only on fonts. For example you can create a div with 20em width and 10em height like <div style="width: 20em; height:10em; background: red;"></div>
14th Aug 2016, 9:15 AM
Bekir Uzun
Bekir Uzun - avatar
0
i think so no
14th Aug 2016, 9:52 AM
Abrar Ahmed
Abrar Ahmed - avatar
0
i have still not tried yet
14th Aug 2016, 9:53 AM
Abrar Ahmed
Abrar Ahmed - avatar
0
Yes u can use it in tranform,transitions etc
15th Aug 2016, 9:37 AM
Pankaj Bhardwaj
Pankaj Bhardwaj - avatar
0
Yes it can be used but for different Operation. Em is also used for empathized text
15th Aug 2016, 3:32 PM
Gautam G G
Gautam G G - avatar
0
Yes, u can use em but if u use it in body tag it will be easy to u
18th Aug 2016, 4:42 PM
Akshat
Akshat - avatar
0
you can use it anywhere you can use "px", "em" is a unit just like "px", so you can use it in border width, radius, etc.
30th Aug 2016, 1:54 AM
Ezekiel Oladejo
Ezekiel Oladejo - avatar
- 2
no because em is a keyword and also 1em=16px
11th Aug 2016, 6:54 PM
Abrar Ahmed
Abrar Ahmed - avatar