随笔分类 - css
摘要:css水平居中,竖直居中技巧(二)===### 1.效果 ### 2.代码#### 2.1.index.html 原始的效果 aaa bbbbbb ccccccccc 居中后的效果 aaa bbb...
阅读全文
摘要:<!--[if !supportLists]-->1. <!--[endif]-->效果 2. Html 3. Less
阅读全文
摘要:1. 效果 2. 代码 2.1. Html 2.2. Less
阅读全文
摘要:1. 方法一 1.1. 效果 2. 方法二 2.1. 效果 3. 代码 3.1. Html 3.2. Less
阅读全文
摘要:@url-prefix: "../../../../../Skin/Template/Default"; .test { background: url("@{url-prefix}/images/picutre001.png") no-repeat; }
阅读全文
摘要:字体名称属性(font-family) 这个属性设定字体名称,如Arial, Tahoma, Courier等。例句如下: .s1 {font-family:Arial} 字体大小属性(font-size) 这个属性可以设置字体的大小。字体大小的设置可以有多种方式,最常用的就是pt和px(pixel
阅读全文
摘要:@media (max-width: 768px) { /*超小屏幕设备 手机*/}@media (min-width: 768px) and (max-width: 992px) { /*小屏幕设备 平板*/}@media (min-width: 992px) and (max-wid...
阅读全文
摘要:css水平居中,竖直居中技巧(一) ### 1.效果 ### 2.代码#### 2.1.index.html <!DOCTYPE html> <html lang="zh-cn"> <head> <meta http-equiv="Content-Type" content="text/html;
阅读全文