共 7 篇文章 |
|
阅235 转1 评0 公众公开 15-08-21 14:31 |
移动web最简洁的滑动效果Swipe JS(适合初学者)【2】最外层div的class="swipe"和第二层div的class="swipe-wrap"是写死的,swipe会查找这两个样式然后做相应的处理。【1】swipe、swipe-wrap、swipe-wrap >figure,这3个是swipe必须要使用到的,而且里面的样式最好也不要改动(感兴趣的同学可以试着去改动,看会呈现什么... 阅3764 转23 评0 公众公开 15-08-12 16:26 |
阅95 转1 评0 公众公开 15-08-12 14:25 |
// flex 等分@mixin flex-equal($children: li) { @extend %display-flex; $childrenEle: li div p a span strong; @if index($childrenEle, $children) { #{$children} { @include flex(1); } } @else { .#{$children} { @include flex(1); } }}.nav-links{ @include flex-equal;}// flex center// display:flex%display-flex,%flex-display {... 阅30 转0 评0 公众公开 15-07-30 16:21 |
}button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button;}input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: #cccccc;原生Android下中文字体与英文字体都选择默认的无衬线字体,4.0之前版本英文字体原生Android使用的是D... 阅26 转0 评0 公众公开 15-07-30 16:04 |
<header class="header fixed-top"></header><section class="header-sub"></section><footer class="footer fixed-bottom"></footer><div class="wrap-page"> <section class="page"></section> <section class="page"... 阅72 转0 评0 公众公开 15-07-30 15:53 |
<meta name="apple-mobile-web-app-capable" content="yes" />apple-mobile-web-app-status-bar-style.<link rel="apple-touch-icon" href="touch-icon-iphone.png"><link rel="apple-touch-icon" sizes="76x76" href="touch-icon-ipad.png"><lin... 阅62 转1 评0 公众公开 15-07-29 10:18 |