html - 如何使用 HTML CSS 在具有不同颜色和空间的文本下放置双线
解决方案
.underline {
text-decoration-line: underline;
text-decoration-style: double;
}
.border {
border-bottom: double 3px;
display: inline;
padding: 5px;
}
<div class="underline">This is some text with a double underline.</div>
<br>
<div class="border">This is some text with a border double..</div>
推荐阅读
- .net-core - ASP.NET Core 和 Angular - SSR
- java - 替代没有未使用变量的静态块
- assembly - 这个汇编程序的堆栈是如何工作的?
- python - 如果数据库包含某个值,则将 x 数量添加到变量(python)
- html - 在月亮上停止 css 关键帧翻转动画,如月相
- tensorflow - 谷歌云 GPU 机器突然重启
- java - 将变量转换为 Big O 中的原始操作吗?
- php - 我无法到达表格的 td 标签
- java - 从 Firebase 数据库中检索计数数据
- python - 除了手动之外,如何在 Matplotlib 中“暂停”、“恢复”和“重置”默认颜色循环?