文本通常由于某种原因隐藏 - 在悬停时显示 - 基本CSS

时间:2017-02-28 21:13:42

标签: css

有没有人知道如何在框中始终显示地址栏,而不仅仅是悬停/鼠标悬停?

*您必须将鼠标指针放在一个方框上才能看到我正在谈论的地址。

http://search.epicmountainhomes.com/i/snyderville-basin-real-estate

谢谢!

3 个答案:

答案 0 :(得分:1)

当您将鼠标悬停在.IDX-resultsCell上时,它会更改.IDX-streetInfo的不透明度。 将不透明度设置为1以显示所有时间......

.IDX-grid .IDX-resultsCell .IDX-streetInfo {
    opacity: 1
 }

答案 1 :(得分:0)

将样式表中的opacity: 0更改为opacity: 1.IDX-grid .IDX-streetInfo

答案 2 :(得分:0)

.IDX-grid .IDX-streetInfo {
background: none repeat scroll 0 0 rgba(0, 0, 0, 0.45);
 color: #F2F2F2;
font-size: 11px;
font-weight: bold;
left: 6px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
padding: 5px 5px 0;
position: absolute;
right: 6px;
text-align: right;
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.6);
top: 8px;
opacity: 0;
-webkit-transition: top 0.2s ease 0s, opacity 0.2s ease 0s;
-moz-transition: top 0.2s ease 0s, opacity 0.2s ease 0s;
-o-transition: top 0.2s ease 0s, opacity 0.2s ease 0s;
-ms-transition: top 0.2s ease 0s, opacity 0.2s ease 0s;
transition: top 0.2s ease 0s, opacity 0.2s ease 0s;
}   

在CSS样式表中查找此代码块。查找当前设置为0的不透明度。将其更改为不透明度:1;不透明度:0;意味着透明。将其设置为1将使其完全可见。