css3
来源:互联网 发布:广告清理软件 编辑:程序博客网 时间:2024/06/05 00:16
常用私有属性
IE
@-ms-viewport{ width: device-width;}
火狐
-moz-user-select: none
谷歌 safari
@-webkit-keyframes swiper-preloader-spin{ 100%{ -webkit-transform: rotate(360deg); }}
统一的
@keyframes swiper-preloader-spin{ 100% { transform: rotate(360deg); }}@keyframes refresh-spin{ 0%{ transform: translate3d(0, 0, 0) rotate(0); } 100%{ transform: translate3d(0, 0, 0) rotate(180deg); }}@keyframes scaleOut{ from{ transform: scale(1); opacity: 1; } to { transform: scale(0.8); opacity: 0; }}
常用hack
@charset "UTF-8"@font-face{ font-family: ''; src: url(''); src: url('') format("embedded-opentype"); font-weight: normal; font-style: normal;}@media(min--moz-device-pixel-radio: 1.5), (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 144dpi){}@media(min--moz-device-pixel-radio: 1.5), (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx){}@media(min-width: 680px){}@media(min-width: 567px){}还有767px, 1023px@media(orientation: landscape){ .platform-ios{ postion: fixed; }}
其他
.platform-c:not(.enable-transitions)*{ -webkit-transition: none !important; transition: none !important;}
0 0
- css3
- css3
- css3
- css3
- css3
- css3
- CSS3
- CSS3
- css3
- CSS3
- css3
- css3
- CSS3
- css3
- css3
- css3
- css3
- css3
- 对部分开源库封装一层再使用
- POJ 1236 Network of Schools
- 用VisualVM远程监控阿里云ECS上的Java进程
- 格式化的输入scanf输出printf
- DM8168 开发环境搭建
- css3
- C++ 编程题练习-MyString(10-6)
- iOS下实现下拉图片变大的效果
- maven向本地仓库导入jar包(处理官网没有的jar包)
- Spark核心RDD理解
- H5前端性能测试快速入门
- DialogFrament遇到的两个坑
- Spark上的决策树(Decision Tree On Spark)
- 如何在线将pdf转换成图片格式