Issue
I want to add a colored underscore to my title, now everything works, but when there is a word in brackets in the title, this underline is interrupted. Can I somehow do so that it is not interrupted under any circumstances?
.title {
text-decoration: underline 8px solid blue;
}
<h2 class="title">some title (zwe)</h2>
Solution
Use border-bottom
instead
.title {
display: inline-block;
border-bottom: 8px solid blue;
}
<h2 class="title">some title (zwe)</h2>
Answered By - Justinas
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.