我的客戶想要的是當您將鼠標懸停在淺橙色上時,它會變成深橙色,這很容易,但是當您到達按鈕的中心並將鼠標懸停在深橙色它變成了淺橙色(這是我有一個困難時期的..請指教CSS翻轉1 div和另一個div的變化
<a href="#"><div class="buttonblue">
<div class="buttontitle">local businesses</div>
<div class="buttonaction_blue">NEXT</div>
<div class="buttonsmallprint">Leverage online</div>
</div></a>
CSS
.buttontitle {
font-family: 'BebasNeueRegular', Arial, sans-serif;
letter-spacing: 0;
padding:4px 0px 4px 0px;
font-size:36px;
color:#fff;
text-align:center;
}
.buttonaction_blue:hover
{
background-color:#418dc7
}
.buttonaction_blue
{
width:355px;
margin:0 auto;
background-color:#4795d1;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
font-family: 'Oxygen', sans-serif;
font-size:32px;
text-align:center;
color:#fff;
padding:10px 0px 10px 0px;
}
請發佈您的CSS。 – j08691
顯示你如何完成到現在。現場示例。 – Damonsson
請張貼CSS! –