Skip to content

Commit

Permalink
thanks feelinglucky. this tech will inspire kissy mobile project, but…
Browse files Browse the repository at this point in the history
… not now
  • Loading branch information
lifesinger committed Nov 21, 2010
1 parent 89e149e commit 695bc92
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 33 deletions.
4 changes: 1 addition & 3 deletions src/cssgrids/grids-taobao.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Grids Layout for Taobao</title>

<link rel="stylesheet" href="../cssreset/reset.css" />
<link rel="stylesheet" href="grids.css" />
<link rel="stylesheet" href="grids-taobao.css" />
Expand Down Expand Up @@ -149,4 +147,4 @@ <h2>对照图</h2>
<a class="top" href="#header">返回页首</a>
</div>
</body>
</html>
</html>
30 changes: 0 additions & 30 deletions src/cssgrids/grids.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,33 +32,3 @@
.layout, .main-wrap, .col-sub, .col-extra {
*zoom: 1;
}

@media handheld, only screen and (max-width: 767px) {
/**
* 针对移动版本
*
* @author mingcheng<i.feelinglucky#gmail.com>
* @date 2010-11-17
* @link http://www.gracecode.com/
*/
body.w950 #header,
body.w950 #content,
body.w950 #footer {
width: 100%;
max-width: 950px;
}

/** @TODO 考虑有无更好的办法 **/
.col-extra,
.col-main .main-wrap,
.col-sub {
width: 100%!important;
margin: 10px 0 0 0!important;
}

.col-sub, .col-main {
float: none;
}
}

/* vim: set et sw=4 ts=4 sts=4 fdm=marker ff=unix ft=css fenc=utf8 nobomb: */

0 comments on commit 695bc92

Please sign in to comment.