2016-03-28 14 views
0

HTMLページに背景.jpg画像を設定しました。 .jpg画像の上に私はAbout usボタンを配置しました。私は、以下のサイトのようにボタンのスタイルを設定したいHTML、CSS、Jqueryのボタンスタイル

http://www.wix.com/sample/website-viewer?lng=en&site_id=1379243637074592

この

私のHTMLファイルに助けてくださいです: -

<div class="feature_home" style="background-image: url('img/main.jpg');"> 
     <p class="feature_text">I really appreciate your guys help!</p> 
     <a class="feature_button" href="/xyz-101/">About us</a> 
    </div> 

私のCSSファイルが

.feature_home{ 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    margin: auto; 
    min-width: 50%; 
    min-height: 50%; 
} 
.feature_text{ 
    position:absolute; 
    right:2px; 
    bottom:15px; 
} 
.feature_button{ 
    right:2px; 
    bottom:2px; 
    position:absolute; 
}` 
です

TIA

答えて

関連する問題