Add CSS to display state name on hover
This commit is contained in:
@@ -27,6 +27,12 @@
|
|||||||
.state:hover {
|
.state:hover {
|
||||||
stroke-width: 1.5;
|
stroke-width: 1.5;
|
||||||
}
|
}
|
||||||
|
.stateText {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
.state:hover ~ .stateText {
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
Reference in New Issue
Block a user