Detect mouseover on element bottom margin
Is it possible with plain JavaScript or jQuery to detect a mouseover on an
element bottom margin, ie when the mouse is over the element margin but
not on the element contain itself?
It seems it's possible because the Medium editor can display a link (a
"plus" sign) when the mouse is over the bottom margin of paragraph
elements, but not when the mouse is over the paragraph text. I have no
idea how they achieve that. Here is how it works in Medium:
http://d.pr/i/njS+
No comments:
Post a Comment