页面布局 --- 多列等高布局
来源:互联网 发布:cscl是什么软件 编辑:程序博客网 时间:2024/04/26 14:22
<!doctype html> <html> <head> <meta charset="UTF-8"> <title>HTML5 Example</title> <style type="text/css"> body { margin:50px; font-family:'Helvetica Neue'; font-size:24px; line-height:1.5; } #container{ width:100%; overflow:hidden; } .col{ width:33.33%; float:left; text-align:center; box-sizing:border-box; padding:20px; color:#FFF; background:#2980B9; margin-bottom:-500px; padding-bottom:500px; } .col img{ width:30%; margin-top:30px; } .col:nth-child(2){ background:#3498DB; } .col:nth-child(3){ background:#67aeef; } /*body { background:#FFF; margin:50px; font-family:'Helvetica Neue'; font-size:24px; line-height:1.5; color:#FFF; } #container{ width:100%; background:#BDC3C7; overflow:hidden; } .col{ width:33.33%; float:left; text-align:center; box-sizing:border-box; padding:20px; margin-bottom:-200px; padding-bottom:200px; } .col img{ width:30%; margin-top:30px; } .col:nth-child(1){ background:#2980B9; } .col:nth-child(2){ background:#3498DB; } .col:nth-child(3){ background:#67aeef; }*/ </style> </head> <body> <div id="container"> <div class="col"> <img src="trend.png"> <h1>Trend</h1> <p>The tool refers to periodic trends for collecting and analyzing weak signals and trends in chemistry.</p> </div> <div class="col"> <img src="user.png"> <h1>User</h1> <p>User namespaces are now fully implemented as of document is obsolete.</p> </div> <div class="col"> <img src="picture.png"> <h1>Picture</h1> <p>Taking good pictures is something anyone can do with any camera, if you practice enough and avoid some common mistakes..</p> </div> </div> </body> </html>
阅读全文
0 0
- 页面布局 --- 多列等高布局
- 多列等高布局
- 多列等高布局
- 多列等高布局
- 等高列布局
- 等高列布局
- Web页面中八种创建多列等高(等高列布局)的实现技术
- 多列等高CSS布局
- 1.多列等高布局
- CSS布局之-多列等高
- 两列等高布局
- 多列布局:定宽+自适应,不定宽+自适应,等宽布局,等高布局
- 两列或多列等高布局实现
- 页面多列布局
- css 布局之:左右及多列等高
- CSS布局奇淫技巧之-多列等高
- CSS布局奇淫技巧之-多列等高
- margin-bottom负值实现多列等高布局
- ulimit命令
- 源码安装zabbix LNMP源码安装
- 异常处理基础1
- 代理模式
- Redis 哈希(Hash)
- 页面布局 --- 多列等高布局
- codeforces 766B Mahmoud and a Triangle
- LeetCode解析-7. Reverse Integer
- 多线程基础学习六:synchronized的基本使用
- Tomcat 容器
- ArrayList<String> 转化为String数组,报错java.lang.ClassCastException
- java web https安全传输配置
- LintCode_009_Fizz Buzz问题
- leetcode_665. Non-decreasing Array ? 待解决