English 中文(简体)
Hello,我在这里是新的,我一直在研究过一段时期的超文本和特别安全局,但有一个术语(unit)“rem”我无法理解。
原标题:Hello, I am new here and I have been studying HTML and CSS for quite some time but there is an term (unit) "rem" I can t understand
  • 时间:2024-03-26 02:48:58
  •  标签:
  • html
  • css

I have learned that "rem" stands for root em, but I am not able to understand how it works. any assistance would be greatly appreciated!

我在学习科安会,我到这里要看我必须安排四舍五入的文字,我必须确定字体为0.85毫米。 通常使用寿命与使用价值重的中间值有何区别?

我预先对任何错误表示歉意。

问题回答

在中央安全局,母体(“root” em)单位与文件内容相对。

仅与目标要素的直接母体相对应。

这里有一些在母体单位表示的普通体大小的例子:

10px = 0.625rem  
12px = 0.75rem  
14px = 0.875rem  
16px = 1rem (base)  
18px = 1.125rem  
20px = 1.25rem  
24px = 1.5rem  
30px = 1.875rem  
32px = 2rem  




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签