mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 19:57:45 +03:00
61ef17b87a
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. :^)
14 lines
189 B
HTML
14 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>
|