Skip to content

Commit

Permalink
iOS 3倍retina的方案
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuxun.jb committed Nov 24, 2014
1 parent 03cf145 commit bf56fce
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## 最新版本

**0.3.0**
**0.2.3**

## 安装依赖

Expand Down Expand Up @@ -105,8 +105,8 @@

只需要在引入`flexible.js`之前,输出meta标签即可,例如:

<meta name="flexible" content="initial-dpr=2" />
<script src="http://g.tbcdn.cn/mtb/lib-flexible/{{version}}/flexible.js"></script>
<meta name="flexible" content="initial-dpr=2" />
<script src="http://g.tbcdn.cn/mtb/lib-flexible/{{version}}/flexible.js"></script>

### 强制设置rem单位的方法

Expand Down
16 changes: 8 additions & 8 deletions build/flexible.debug.css
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,6 @@ ins,
a {
text-decoration: none;
}
/**
* 通用栅格生成器makeGrid
* 视觉规范地址:http://demo.alibaba-inc.com/categories/2075/projects/7370/vds/56075
* @grid-column-width:11rem;//列宽 单位rem
* @grid-gutter-width:2rem;//槽宽
* @grid-offset:3rem;//body 2边间距 视觉稿上的列边距
* @grid-name:grid; 一般为[grid/grid-thin/grid-fat] grid命名 可选视觉规范上的三种
*/
/**
* 生成通用栅格(meduim)一般适用于产品首页
* @grid-column-width:11rem;//列宽 单位rem
Expand Down Expand Up @@ -232,6 +224,14 @@ a {
.grid .col-12 {
width: 15.400000000000002rem;
}
/**
* 通用栅格生成器makeGrid
* 视觉规范地址:http://demo.alibaba-inc.com/categories/2075/projects/7370/vds/56075
* @grid-column-width:11rem;//列宽 单位rem
* @grid-gutter-width:2rem;//槽宽
* @grid-offset:3rem;//body 2边间距 视觉稿上的列边距
* @grid-name:grid; 一般为[grid/grid-thin/grid-fat] grid命名 可选视觉规范上的三种
*/
/**
* 生成通用栅格(thin)一般适用于产品列表模块
* @grid-column-width:9rem;//列宽 单位rem
Expand Down
2 changes: 1 addition & 1 deletion build/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "lib.flexible",
"description": "移动端自适应方案",
"version": "0.3.0",
"version": "0.2.3",
"homepage": "http://gitlab.alibaba-inc.com/mtb/lib-flexible",
"author": [
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "lib.flexible",
"description": "移动端自适应方案",
"version": "0.3.0",
"version": "0.2.3",
"homepage": "http://gitlab.alibaba-inc.com/mtb/lib-flexible",
"author": [
{
Expand Down

0 comments on commit bf56fce

Please sign in to comment.