- 博客(4)
- 收藏
- 关注
转载 js常用的正则表达式
正则表达式校验网站1、邮箱正则const emailReg = /^\w+((.\w+)|(-\w+))@[A-Za-z0-9]+((.|-)[A-Za-z0-9]+).[A-Za-z0-9]+$/2、手机号正则const phoneReg = /^[1][3,4,5,7,8][0-9]{9}$/3、IPv4地址正则const ipReg = /^((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$/4、18
2021-04-16 23:33:42
336
原创 Safari浏览器下input密码输入框自带钥匙图标问题
去掉Safari下input密码输入框自带钥匙图标在公共样式中加入如下input::-webkit-credentials-auto-fill-button { display: none !important; visibility: hidden; pointer-events: none; position: absolute; right: 0;}问题就解决了!...
2021-04-16 19:12:13
1201
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅