aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Schoenert <c.schoenert@t-online.de>2019-03-24 21:26:43 +0100
committerCarsten Schoenert <c.schoenert@t-online.de>2019-03-24 21:26:43 +0100
commit0b9805ebfe1fa518835c66c288dff251ce9962ac (patch)
treecad8790f04d216c607071c770aeeb70d801d3581
parent6098624fed578eeb0d4036d62f9466ad0fb3e818 (diff)
download.css: adding hover styles instructions
Some basic sytle instruction for using hover elements by CSS.
-rw-r--r--english/download/download.css26
1 files changed, 26 insertions, 0 deletions
diff --git a/english/download/download.css b/english/download/download.css
index af1c70d57dc..8e7bb4c67ec 100644
--- a/english/download/download.css
+++ b/english/download/download.css
@@ -52,3 +52,29 @@ h3 {
margin-bottom : 6px;
}
+.tooltip {
+ position: relative;
+ display: inline-block;
+ /*border-bottom: 1px dotted black;*/
+}
+
+.tooltip .tooltiptext {
+ visibility: hidden;
+ width: 120px;
+ bottom: 100%;
+ left: 50%;
+ margin-left: -60px; /* Use half of the width (120/2 = 60), to center the tooltip */
+ background-color: black;
+ color: #fff;
+ text-align: center;
+ border-radius: 6px;
+ padding: 5px;
+
+ /* Position the tooltip */
+ position: absolute;
+ z-index: 1;
+}
+
+.tooltip:hover .tooltiptext {
+ visibility: visible;
+}

© 2014-2024 Faster IT GmbH | imprint | privacy policy