2017-02-28 32 views
0

有誰知道如何在地址欄中始終顯示地址欄,而不僅僅是懸停/鼠標懸停?由於某種原因隱藏文本 - 懸停顯示 - 基本CSS

*您必須將鼠標指針放在方框上才能看到我所說的地址。

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

謝謝!

+0

查找'opacity'屬性和':hover'僞選擇器。 – Ibu

+0

你們都很棒!這只是我一直在盯着的那些東西之一,卻看不到明顯的答案。非常感謝Dasar,Ibu和Ovokuro! – user2172183

回答

0

變化opacity: 0opacity: 1在樣式表.IDX-grid .IDX-streetInfo

1

當您將鼠標懸停在.IDX-resultsCell上時,它將更改.IDX-streetInfo的不透明度。 不透明度設置爲1來顯示所有的時間...

.IDX-grid .IDX-resultsCell .IDX-streetInfo { 
    opacity: 1 
} 
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將使其完全可見。