Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
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
jsFiddle .