摘要: 移动端的特殊样式 /*去除a连接点击时 后侧的高亮背景*/ a { -webkit-tap-highlight-color: transparent; } /*添加这个属性 iOS上 输入框和按钮才可以书写自定义样式*/ input { -webkit-appearance: none; } /*禁 阅读全文
posted @ 2021-02-03 14:36 棉花糖88 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 视口标签 <meta name="viewport"//视口 content=" width=device-width,//设备宽度 user-scalable=no, //是够可以缩放 0或1 yes或no initial-scale=1.0,//初始缩放比 maximum-scale=1.0,/ 阅读全文
posted @ 2021-02-03 11:20 棉花糖88 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 一 移动端基础 二 视口 阅读全文
posted @ 2021-02-03 09:38 棉花糖88 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 先写私有前缀 再写通用写法 阅读全文
posted @ 2021-02-03 08:58 棉花糖88 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 小demo 旋转木马 <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>翻转导航</title> <style> body { /*添加透视*/ perspective: 1000px; } /*最外面的盒子* 阅读全文
posted @ 2021-02-03 08:45 棉花糖88 阅读(84) 评论(0) 推荐(0) 编辑