0
我使用border-bottom: 1px dotted blue;
作为我的锚标记而不是text-decoration: underline;
,所以我可以使用虚线。如何调整内嵌文本链接上的边界偏移量?
有人会知道如何调整边界偏移距文本更近或更远吗?
我使用border-bottom: 1px dotted blue;
作为我的锚标记而不是text-decoration: underline;
,所以我可以使用虚线。如何调整内嵌文本链接上的边界偏移量?
有人会知道如何调整边界偏移距文本更近或更远吗?
如果设置display
到inline-block
,您可以使用line-height
移动边界更近或更远。
非常好。 'display:inline-block;'和'line-height'正是我一直在寻找的感谢。 –