摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="widt 阅读全文
posted @ 2017-06-25 22:17 全冬 阅读(163) 评论(0) 推荐(0) 编辑
摘要: style960-640.css .divleft { width: 25%; height: 200px; background-color: red; position: absolute; left:0; top: 0;}.divright { width: 75%; height: 200p 阅读全文
posted @ 2017-06-25 22:10 全冬 阅读(182) 评论(0) 推荐(0) 编辑
摘要: .header{ height: 650px; width: 1000px; background-color: gray;}.a{ width: 1000px; height: 50px; background-color:bisque ;}.left{ width: 150px; height: 阅读全文
posted @ 2017-06-25 22:04 全冬 阅读(150) 评论(0) 推荐(0) 编辑
摘要: .container{ margin: 0 auto; width: 1000px; position: relative;}.header{ height: 650px; width: 1000px; background-color: antiquewhite;}.a{ width: 1000p 阅读全文
posted @ 2017-06-25 22:02 全冬 阅读(219) 评论(0) 推荐(0) 编辑
摘要: .a{ width: 100px; height: 300px; background-color: #286090;}.a div{ width: 50px; height: 50px; background-color: aqua; text-align: center;} <div class 阅读全文
posted @ 2017-06-22 21:21 全冬 阅读(173) 评论(0) 推荐(0) 编辑
摘要: <style> 方法一:首先编写两个div,并用边框和背景区分开 .box { width: 200px; height: 200px; border: 1px solid red; } .block{ width: 50px; height: 50px; } </style> <div class 阅读全文
posted @ 2017-06-22 21:15 全冬 阅读(179) 评论(0) 推荐(0) 编辑
摘要: <div class="box box1"> <span>垂直居中</span> </div> 阅读全文
posted @ 2017-06-22 21:04 全冬 阅读(92) 评论(0) 推荐(0) 编辑
摘要: .a{ position: relative; left:100px;top:50px;} 阅读全文
posted @ 2017-06-22 20:59 全冬 阅读(94) 评论(0) 推荐(0) 编辑
摘要: .p{ } 阅读全文
posted @ 2017-06-22 20:56 全冬 阅读(107) 评论(0) 推荐(0) 编辑
摘要: bootstrap框架是最现在常用的框架。 阅读全文
posted @ 2017-06-12 00:03 全冬 阅读(80) 评论(0) 推荐(0) 编辑