summaryrefslogtreecommitdiff
path: root/Base
diff options
context:
space:
mode:
Diffstat (limited to 'Base')
-rw-r--r--Base/res/html/misc/opacity.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/Base/res/html/misc/opacity.html b/Base/res/html/misc/opacity.html
index 4dfa51770c..8a8154807a 100644
--- a/Base/res/html/misc/opacity.html
+++ b/Base/res/html/misc/opacity.html
@@ -24,6 +24,13 @@
.red {
background: red;
}
+ .hover-visible {
+ display: inline-block;
+ opacity: 0;
+ }
+ .hover:hover .hover-visible {
+ opacity: 1;
+ }
</style>
</head>
<body>
@@ -66,5 +73,13 @@
50% opacity inside 70% opacity
</div>
</div>
+
+ <div class="red hover">
+ Visible on hover
+
+ <div class="hover-visible">
+ I'm visible!
+ </div>
+ </div>
</body>
</html>