- 昵称:51助手
- 博龄:7年15天
- 粉丝:122
- 关注:108
- +关注
搜索
文章分类
博客档案
微信小程序checkbox样式修改
摘要:checkbox .wx-checkbox-input { width: 40rpx; height: 40rpx; border-radius: 50%;
placeholder 字体颜色
摘要:<style> // 谷歌 input::-webkit-input-placeholder{ &nbs
苹果浏览电话数字变黑色问题
摘要:头部增加<meta name="format-detection" content="telephone=no" />禁止识别手机号<meta name="format-detection" content="telephone=no"&nb
网页版思源字体引入
摘要:<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans+SC:100,300,400,500,700,900" />在需要引用的地方font-family: &quo
禁止js click 点击事件
摘要: .disabled { pointer-events: none; }<span class="disabled ">点击失效</span>
flex布局小技巧之让某个子元素靠右或靠左显示
摘要: <!--我是父盒子--> <div class="father_box"> <!--三个子盒子--> <div class="son_box1">普通盒子甲</div>  
css animation 循环动画的实现
摘要:值描述animation-name规定需要绑定到选择器的 keyframe 名称。。animation-duration规定完成动画所花费的时间,以秒或毫秒计。animation-timing-function规定动画的速度曲线。animation-delay规定在动画开始之前的延迟。animation-iterati
css :root、var()、calc() 函数
摘要::root:root {background:#ccc;}css 伪类匹配文档的根元素。对于 HTML 来说, :root 表示<html>元素,除了优先级更高之外,与 html 选择器相同。非IE及ie8及以上浏览器都支持,在:root中声明相当于全局属性
bootstrap3 position: sticky; 失效
摘要:失效原因有2个一个是父级以及以上的祖级有overflow:hidden属性,如果有需要改成 overflow: visible还有一个原因是,父级高度需要大于吸顶对象高度bootstrap 页面布局 如col-lg-3 是以float做浮动的,高度等于吸顶对象高度,所以导至position: sticky无效