![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Web
郁诙邪
这个作者很懒,什么都没留下…
展开
-
npm install 报错 git.EXE ls-remote -h -t https://github.com/nhn/raphael.git
1.cmd输入 git config --global url."https://".insteadOf git://2. 重新 install 可能还会报错 git.EXE ls-remote -h -t https://github.com/nhn/raphael.git3.cmd输入 ipconfig /flushdns 刷新DNS4.cmd输入 npm config set registry=https://registry.npmmirror.com 重新设置npm下载地址...原创 2022-03-28 22:28:57 · 1963 阅读 · 0 评论 -
CSS:flex布局 超出不换行不显示省略号 或父元素被撑开
对要求超出隐藏的那行字附加 overflow: hidden; text-overflow: ellipsis; white-space: nowrap;其结果图片是固定长宽,因为子元素被要求不换行,导致整个容器被撑出屏幕外,而且可以看出子元素的text-overflow和overflow并没有生效解决方案:查看父元素或爷元素是否有min-width属性将其值设置0 display: flex; flex-direction: column; justify-conten.原创 2021-05-13 15:36:06 · 2610 阅读 · 0 评论