我試圖添加transition:1s;
並將文本過渡到color:#0000
。在我的圖片下,我的圖片標題中的文字是'Joe Doe'。我嘗試了在我的CSS中的幾個地方,但沒有任何工作。我在我的WordPress網站http://boasish.com/ios-8/如何向圖像標題中的文本添加過渡
<p class="wp-caption-text">Image:
<a href="http://mashable.com/2014/09/25/disney-characters-halloween-costumes/" onclick="ga('send', 'event', 'outbound-article',
'http://mashable.com/2014/09/25/disney-characters-halloween-costumes/', 'Joe Doe');" target="_blank">Joe Doe
</a>
</p>
使用創世紀Framwork與TRU千年主題這是我嘗試在其他幾件事情:
a {
text-decoration: none;
color: #8B8080;
}
a:hover {
transition: 1s;
color: #0000
}
我想你的意思是要麼#000或#000000 – 2014-09-25 16:11:15