10 2019 档案

摘要:强制每个单词的首字母转换为大写。text-transform: capitalize;强制所有字符被转换为大写 text-transform: uppercase;强制所有字符被转换为小写 text-transform: lowercase;阻止所有字符的大小写被转换 text-transform: 阅读全文
posted @ 2019-10-29 10:52 闪光123 阅读(380) 评论(0) 推荐(0) 编辑
摘要:-webkit-user-select: none;-ms-user-select: none;-moz-user-select: none;-khtml-user-select: none;user-select: none; 让元素不能被选中。 阅读全文
posted @ 2019-10-29 10:46 闪光123 阅读(135) 评论(0) 推荐(0) 编辑
摘要:.multi-text{ width: 50%; height: 4.5rem; line-height: 1.5; padding: 20px; background: lightblue; overflow: hidden; position: relative; box-sizing: bor 阅读全文
posted @ 2019-10-29 10:36 闪光123 阅读(322) 评论(0) 推荐(0) 编辑
摘要:react项目更新依赖后,报错Cannot find module './locale'。 后来发现,上传项目的时候没有排除 yarn.lock文件,以后用yarn安装的时候老是安装以前的版本,删掉yarn.lock文件在 yarn 就好了。 可是奇怪的是 npm install 也没用,这个是怎么 阅读全文
posted @ 2019-10-15 17:31 闪光123 阅读(2080) 评论(0) 推荐(0) 编辑
摘要:一些好看的css技巧,学会了就不用经常找UI切图了,哈哈哈 https://lhammer.cn/You-need-to-know-css/#/zh-cn/mouse-cursor 阅读全文
posted @ 2019-10-12 15:49 闪光123 阅读(1600) 评论(0) 推荐(0) 编辑