mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-16 16:36:59 +03:00
add tooltip css
This commit is contained in:
@@ -49,6 +49,39 @@
|
|||||||
width: 660px;
|
width: 660px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tooltip {
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tooltip .tooltiptext {
|
||||||
|
visibility: hidden;
|
||||||
|
width: 600px;
|
||||||
|
background-color: #fcfcfc;
|
||||||
|
|
||||||
|
padding: 5px;
|
||||||
|
padding-bottom: 0;
|
||||||
|
|
||||||
|
border: solid black 2px;
|
||||||
|
|
||||||
|
/* Position the tooltip */
|
||||||
|
position: absolute;
|
||||||
|
z-index: 1;
|
||||||
|
top: 100%;
|
||||||
|
left: 100%;
|
||||||
|
margin-left: -600px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tooltip:hover .tooltiptext {
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tooltip-content {
|
||||||
|
width: calc(100% - 2px);
|
||||||
|
height: calc(100% - 2px);
|
||||||
|
padding: 1px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<link href="firework.css?v=$COMMIT_HASH" rel="stylesheet">
|
<link href="firework.css?v=$COMMIT_HASH" rel="stylesheet">
|
||||||
|
|||||||
Reference in New Issue
Block a user