2014-02-15 70 views

回答

3

你可以做到這一點

<div id="sample"></div> 

#sample { 
    background-image: url('sampleImage1.png'); 
    height: 70px; 
    width: 120px; 
} 

#sample:hover { 
    background-image: url('sampleImage2.png'); 
} 
相關問題