响应式表格美化
表格不是标准表格,具体看代码。移动端会隐藏部分内容并显示一个拖动的箭头

XML/HTML Code
- <section id="cd-table">
- <header class="cd-table-column">
- <h2>Features</h2>
- <ul>
- <li>Storage</li>
- <li>People</li>
- <li>Free trial</li>
- <li>Support</li>
- <li>Price</li>
- </ul>
- </header>
- <div class="cd-table-container">
- <div class="cd-table-wrapper">
- <div class="cd-table-column">
- <h2>Plan 1</h2>
- <ul>
- <li>1 GB</li>
- <li>2</li>
- <li>30 days</li>
- <li class="cd-unchecked"><span>No</span></li>
- <li>$9.99</li>
- <li><a class="cd-select" href="#0">Select</a></li>
- </ul>
- </div> <!-- cd-table-column -->
- <div class="cd-table-column">
- <h2>Plan 2</h2>
- <ul>
- <li>2 GB</li>
- <li>5</li>
- <li>30 days</li>
- <li class="cd-unchecked"><span>No</span></li>
- <li>$19.99</li>
- <li><a class="cd-select" href="#0">Select</a></li>
- </ul>
- </div> <!-- cd-table-column -->
- <div class="cd-table-column">
- <h2>Plan 3</h2>
- <ul>
- <li>5 GB</li>
- <li>10</li>
- <li>30 days</li>
- <li class="cd-checked"><span>Yes</span></li>
- <li>$29.99</li>
- <li><a class="cd-select" href="#0">Select</a></li>
- </ul>
- </div> <!-- cd-table-column -->
- <div class="cd-table-column">
- <h2>Plan 4</h2>
- <ul>
- <li>10 GB</li>
- <li>20</li>
- <li>30 days</li>
- <li class="cd-checked"><span>Yes</span></li>
- <li>$39.99</li>
- <li><a class="cd-select" href="#0">Select</a></li>
- </ul>
- </div> <!-- cd-table-column -->
- <div class="cd-table-column">
- <h2>Plan 5</h2>
- <ul>
- <li>20 GB</li>
- <li>Unlimited</li>
- <li>30 days</li>
- <li class="cd-checked"><span>Yes</span></li>
- <li>$49.99</li>
- <li><a class="cd-select" href="#0">Select</a></li>
- </ul>
- </div> <!-- cd-table-column -->
- </div> <!-- cd-table-wrapper -->
- </div> <!-- cd-table-container -->
- <em class="cd-scroll-right"></em>
- </section> <!-- cd-table -->
原文地址:http://www.freejs.net/article_jquerywenzi_883.html
最近更新
- 响应式全屏手风琴菜单,同时支持垂直方...
- 分组select选择器,支持多选和单...
- jQuery时间日期选择器代码日历插...
- Select 选择器 可以清空的单选...
- jQuery json 无刷新翻页 ...
- 纯css3带倒影效果的图片翻转特效
我爱薅羊毛
点击最多
广告赞助
相关文章
- jquery点击显示或隐藏内容,可以一次展开多个和...
- tooltips/弹出层/消息提示效果,支持点击与...
- jQuery幸运大转盘抽奖活动代码
- jquery来实现的添加商品和减少商品数量,用于购...
- jQuery手机端弹出层提示对话框
- php js实现拖动滑块完成拼图验证码