User:TerminalFlow/styles.css:修订间差异
TerminalFlow(讨论 | 贡献) 小 (test用) |
TerminalFlow(讨论 | 贡献) 小 (// Edit via Wikiplus) |
||
第2行: | 第2行: | ||
width: 112px; | width: 112px; | ||
height: 52px; | height: 52px; | ||
position: relative; | |||
} | } | ||
.content { | .content { | ||
opacity: 0; | opacity: 0; | ||
第21行: | 第17行: | ||
cursor:pointer; | cursor:pointer; | ||
z-index: 114514; | z-index: 114514; | ||
text-align: center; | |||
} | } | ||
.step:hover .content { | .step:hover .content { | ||
opacity: 1; | opacity: 1; | ||
} | } |
2024年12月28日 (六) 17:35的最新版本
.step {
width: 112px;
height: 52px;
position: relative;
}
.content {
opacity: 0;
transition: opacity 0.1s linear;
transform: translate(-50%,-50px);
left: 50%;
position: absolute;
background-color: #fff;
border: 2px solid gray;
padding: 3px;
box-sizing: border-box;
border-radius: 4px;
cursor:pointer;
z-index: 114514;
text-align: center;
}
.step:hover .content {
opacity: 1;
}