会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Mr、DIVE
博客园
首页
新随笔
联系
管理
订阅
11 2021 档案
居中对齐
摘要:cursor: pointer; justify-content: center; align-items: center; display: flex !important;
阅读全文
posted @
2021-11-25 15:49
Mr、DIVE
阅读(133)
评论(0)
推荐(0)
十几个CSS高级常见技巧汇总(虚线框、三角形、优惠券卡券、滚动条、多行溢出...)
摘要:转载保存; (16条消息) 十几个CSS高级常见技巧汇总(虚线框、三角形、优惠券卡券、滚动条、多行溢出...)_前端仙人的博客-CSDN博客
阅读全文
posted @
2021-11-23 10:39
Mr、DIVE
阅读(52)
评论(0)
推荐(0)
第30天 [js]写一个方法判断字符串是否为回文字符串
摘要://写一个方法判断字符串是否为回文字符串 function getMaxMin() { let a = "s a d a s a" //实现思路,不考虑大小写的情况下,先转换成小写,然后用空格split分格数组,再通过数组的reverse转换顺序,再用join链接 let b = a.replace
阅读全文
posted @
2021-11-18 09:35
Mr、DIVE
阅读(76)
评论(0)
推荐(0)
第29 [js]写一个获取数组的最大值、最小值的方法
摘要:function getMaxMin() { //js的apply语法 let asd = [1,2,3,4,5,6]; console.log(Math.max.apply(Array,[1,2,3,4,5,6])); //es6语法 let asd2 = [1,2,3,4,5,6]; conso
阅读全文
posted @
2021-11-16 16:32
Mr、DIVE
阅读(81)
评论(0)
推荐(0)
第29天 [js]时间戳转换
摘要:function getLocalTime(nS) { return new Date(parseInt(nS) * 1000).toLocaleString().replace(/:\d{1,2}$/,' '); } console.log(getLocalTime(1636387199));
阅读全文
posted @
2021-11-16 15:57
Mr、DIVE
阅读(36)
评论(0)
推荐(0)
CSS权重值计算
摘要:选择器案例权重值 !important !important Infinity 内联样式 style=".." 1000 ID #id 100 class .class 10 属性 [type='text'] 10 伪类 :hover 10 标签 p 1 伪元素 ::first-line 1 相邻选
阅读全文
posted @
2021-11-16 15:53
Mr、DIVE
阅读(114)
评论(0)
推荐(0)
公告