+ 4
How can we highlight a region of webpage on hovering mouse over it
2 odpowiedzi
+ 9
No need of JQuery neither JS... just do it with Css pseudo-selector ':hover':
<div class="highlight">some content</div>
<style>
.highlight:hover {
/* set style as you want to highlight the element... for example: */
background:yellow;
}
</style>
(pseudo-selector cannot be define as inlined 'style' attribute)
0
learn css