mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 16:15:08 +00:00

This is currently very aggressive. Whenever the Document's hovered node changes, we invalidate all style and do a full relayout. It does look cool though. So cool that I'm adding it to the default stylesheet. :^)
13 lines
189 B
HTML
13 lines
189 B
HTML
<html>
|
|
<head>
|
|
<title>Hover test!</title>
|
|
<style>
|
|
a:hover {
|
|
color: red;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<a href="hover.html">this is a link</a>
|
|
</body>
|
|
</html>
|