Inline style to act as :hover in CSS

前端 未结 7 2249
梦毁少年i
梦毁少年i 2020-12-01 02:11

I know that embedding CSS styles directly into the HTML tags they affect defeats much of the purpose of CSS, but sometimes it\'s useful for debugging purposes, as in:

<
7条回答
  •  悲哀的现实
    2020-12-01 03:12

    I put together a quick solution for anyone wanting to create hover popups without CSS using the onmouseover and onmouseout behaviors.

    http://jsfiddle.net/Lk9w1mkv/

    first hover
    stuff inside

提交回复
热议问题