【发布时间】:2018-07-25 14:30:37
【问题描述】:
我想在下划线可以是不同长度的地方加下划线。我还希望能够更改下划线的位置(在单词下方向左或向右移动)。这似乎是一个很容易的任务,但我无法让它工作。
.underline {
border-bottom: 1px solid #5fca66;
padding-bottom: 5px;
}
This is a <span class="underline">sentence</span>. I would like some words to have longer <span class="underline">underlines</span> than others. I would also like to be able to change the <span class="underline">position</span> of the <span class="underline">underline</span>(to be centered under the word, for example).
【问题讨论】:
-
您是否尝试对其进行动画处理。请解释