簡短教學
這是一款使用純CSS3製作的時尚價格表。此價格表透過Bootstrap來進行佈局,採用扁平風格,滑鼠劃過時還帶有平滑過渡的顏色變化效果。
使用方法
HTML結構
此價格表的基本HTML結構如下:
<div class="container"> <div class="row"> <div class="col-md-3 col-sm-6"> <div class="pricingTable"> <div class="pricingTable-header"> <h3 class="heading">Standard</h3> <span class="price-value"> <span class="currency">$</span> 10 <span class="month">/mo</span> </span> </div> <div class="pricing-content"> <ul> <li>50GB Disk Space</li> <li>50 Email Accounts</li> <li>50GB Monthly Bandwidth</li> <li>10 Subdomains</li> <li>15 Domains</li> </ul> <a href="#" class="read">sign up</a> </div> </div> </div> <div class="col-md-3 col-sm-6"> <div class="pricingTable"> <div class="pricingTable-header"> <h3 class="heading">Business</h3> <span class="price-value"> <span class="currency">$</span> 20 <span class="month">/mo</span> </span> </div> <div class="pricing-content"> <ul> <li>60GB Disk Space</li> <li>60 Email Accounts</li> <li>60GB Monthly Bandwidth</li> <li>15 Subdomains</li> <li>20 Domains</li> </ul> <a href="#" class="read">sign up</a> </div> </div> </div> </div> </div>
CSS樣式
完成此價格表的所有純CSS ,更多相關內容請關注PHP中文網(www.php.cn)!