摘要: window.close()关闭一个窗口无效,那应该用什么方法? 阅读全文
posted @ 2020-05-13 13:20 留下成长的足迹 阅读(568) 评论(1) 推荐(1)
摘要: css: <style> span::before{ content: "*"; color: #ff0000; font-size: 25px; position: relative; top: 10px; } </style> <span>必填项</span> 如果把红星加到后面,css写为sp 阅读全文
posted @ 2020-04-28 14:02 留下成长的足迹 阅读(1537) 评论(0) 推荐(0)
摘要: $.parser.parse("$('#需要渲染的内容').parent()") 阅读全文
posted @ 2020-04-27 14:14 留下成长的足迹 阅读(232) 评论(0) 推荐(0)
摘要: String.Format('{0,4:D3}',num)是把num转换为一个字符串,字符串长度为4,把num转换为长度为三位的整数,不够四位的用0补够四位。 参考文档:https://www.jb51.net/article/57216.htm 官方文档:https://docs.microsof 阅读全文
posted @ 2020-04-26 16:11 留下成长的足迹 阅读(666) 评论(0) 推荐(0)
摘要: 原文地址: https://blog.csdn.net/liuhailiuhai12/article/details/55252283 1. .parent{ width:400px; height:500px; display:flex; justify-content: center; alig 阅读全文
posted @ 2020-04-24 11:43 留下成长的足迹 阅读(796) 评论(0) 推荐(0)
摘要: 1.npm config ls //查看npm的配置文件 会发现里面的registry是npm原始的镜像:https://registry.npmjs.org/ 2.永久修改为淘宝镜像。 npm config set registry https://registry.npm.taobao.org 阅读全文
posted @ 2020-04-23 10:30 留下成长的足迹 阅读(524) 评论(0) 推荐(0)
摘要: 1.table标签中添加table-layout:fixed <table style="table-layout:fixed"> </table> 2.td标签中样式添加宽度,width:100px;换行模式:word-break:break-all;//允许在单词内换行。,word-break: 阅读全文
posted @ 2020-04-21 18:22 留下成长的足迹 阅读(9896) 评论(0) 推荐(0)
摘要: cd D:\gitStydy //切换到D盘的gitStudy文件夹 。change direction 简写为cd。 参考地址:https://www.cnblogs.com/SamWeb/p/6516784.html 阅读全文
posted @ 2020-04-20 18:57 留下成长的足迹 阅读(7511) 评论(0) 推荐(0)
摘要: 下载地址,淘宝镜像:https://npm.taobao.org/mirrors/git-for-windows/ 0. git helper -a //查看全部git子命令 git --version //查看git版本 1. git checkout -b 'branchName' //创建一个 阅读全文
posted @ 2020-04-20 11:43 留下成长的足迹 阅读(356) 评论(0) 推荐(0)
摘要: <div> <table></table> </div> <style> div { text-align: 'center'; } table { margin: auto } </style> 阅读全文
posted @ 2020-04-19 18:39 留下成长的足迹 阅读(490) 评论(0) 推荐(0)