我注意到REM单元可以用于元素的大小,而不仅仅是字体大小。非常有用的HTML字体大小属性。
html { font-size:1vw }
@media all and (max-width:720px) {
html { font-size:10px }
}
#el { width:20rem;height:5rem }
,但它是正确的和可信任的吗?
在你发表评论之前,我肯定我的文件在正确的位置。
以下是我的第一个错误:
我的网页上有Bootstrap,Font和jQuery。
我收到一个错误,内容如下:
Uncaught TypeError: Cannot read property 'fn' of undefined
at bootstrap-4.3.1.min.js:6
at bootstrap-4.3.1.min.js:6 bootstrap-4.3.1.min.js:6
at bootstrap-4.3.1.min.js:6
我知道还有其他类似的问题
我希望我的内容是流畅的,但是当使用.container-fluid和Bootstrap的网格时,我仍然看到填充。
怎样才能去掉填充物?
我发现我没有用.row获得填充,但是我想添加列,一旦添加,填充就回来了。
我希望能够使用全宽的列。
举个例子:
<div class="container-fluid">
<div class="row">
<div class="col-sm-6">
<p>Use this document as a way to quickly st