<h2 title="Site Owner">Mr. Mark </h2>
Is it possible to edit/set the HTML title
(works like a tooltip) property using CSS, as shown above?
I tried styling it using inline CSS but it didn't go through.
P粉0989790482024-02-26 00:33:04
Yes, you will need the [title]:hover::after
rule like this:
h2[title]:hover::after { content: attr(title); position: absolute; color: red; top: 200; left: 200; }
Mr. Mark