随笔分类 -  css

摘要:css水平居中,竖直居中技巧(二)===### 1.效果 ### 2.代码#### 2.1.index.html 原始的效果 aaa bbbbbb ccccccccc 居中后的效果 aaa bbb... 阅读全文
posted @ 2016-06-28 10:30 泪已凝 阅读(616) 评论(0) 推荐(0) 编辑
摘要:<!--[if !supportLists]-->1. <!--[endif]-->效果 2. Html 3. Less 阅读全文
posted @ 2016-03-31 09:23 泪已凝 阅读(1238) 评论(0) 推荐(0) 编辑
摘要:1. 效果 2. 代码 2.1. Html 2.2. Less 阅读全文
posted @ 2016-02-17 09:48 泪已凝 阅读(383) 评论(0) 推荐(0) 编辑
摘要:1. 方法一 1.1. 效果 2. 方法二 2.1. 效果 3. 代码 3.1. Html 3.2. Less 阅读全文
posted @ 2016-02-16 17:56 泪已凝 阅读(656) 评论(0) 推荐(0) 编辑
摘要:@url-prefix: "../../../../../Skin/Template/Default"; .test { background: url("@{url-prefix}/images/picutre001.png") no-repeat; } 阅读全文
posted @ 2015-07-06 15:33 泪已凝 阅读(2480) 评论(0) 推荐(0) 编辑
摘要:字体名称属性(font-family) 这个属性设定字体名称,如Arial, Tahoma, Courier等。例句如下: .s1 {font-family:Arial} 字体大小属性(font-size) 这个属性可以设置字体的大小。字体大小的设置可以有多种方式,最常用的就是pt和px(pixel 阅读全文
posted @ 2015-07-06 10:36 泪已凝 阅读(399) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-07-06 10:35 泪已凝 阅读(129) 评论(0) 推荐(0) 编辑
摘要:@media (max-width: 768px) { /*超小屏幕设备 手机*/}@media (min-width: 768px) and (max-width: 992px) { /*小屏幕设备 平板*/}@media (min-width: 992px) and (max-wid... 阅读全文
posted @ 2015-07-06 10:34 泪已凝 阅读(2907) 评论(0) 推荐(0) 编辑
摘要:css水平居中,竖直居中技巧(一) ### 1.效果 ### 2.代码#### 2.1.index.html <!DOCTYPE html> <html lang="zh-cn"> <head> <meta http-equiv="Content-Type" content="text/html; 阅读全文
posted @ 2015-04-02 10:57 泪已凝 阅读(518) 评论(2) 推荐(0) 编辑

点击右上角即可分享
微信分享提示