HTML CSS宽高度百分比数减去固定像素值的写法 [ 技术杂谈 ]
九叶的小窝 文章 正文
![As Long As You Love Me.](https://api.qwq.ro/storage/users/uid-1/1661304663.png)
九叶
{{nature("2022-01-05 14:16:19")}}更新1. 代码
<div id="output" style="width: 100%;height: 100%; display: none;">
<div id="crumbs" style="width: 100%;height: 20px;"></div>
<div id="terminal" style="width: 100%;height: calc(100% - 20px);"></div>
</div>
2. 效果图
[scode type="yellow"]注意:减号两边一定要打空格,不然会失效[/scode]
{{nature('2021-12-07 15:29:00')}} {{format('2670')}}人已阅读
{{nature('2021-01-31 20:01:00')}} {{format('1172')}}人已阅读
{{nature('2020-12-11 21:17:00')}} {{format('1085')}}人已阅读
{{nature('2021-04-22 15:16:00')}} {{format('1056')}}人已阅读
目录
标签云
一言
评论 0
{{userInfo.data?.nickname}}
{{userInfo.data?.email}}