0
Can em be used elsewhere apart from fonts?
8 Antworten
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>
0
i think so no
0
i have still not tried yet
0
Yes u can use it in tranform,transitions etc
0
Yes it can be used but for different Operation. Em is also used for empathized text
0
Yes, u can use em but if u use it in body tag it will be easy to u
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.
- 2
no because em is a keyword and also 1em=16px