![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
css
「已注销」
这个作者很懒,什么都没留下…
展开
-
flex垂直居中
1.margin-top 大概 /* 搜索框 start */ .search-ico{ width: 40rpx; height: 40rpx; margin-top: 10rpx; } .search-text{ font-size: 14px; background-color: #eaeaea; height: 60rpx; width: 650rpx; } .search-block{ display: flex; flex-direction: row; padding:原创 2020-05-16 12:46:14 · 147 阅读 · 0 评论 -
yii2下,tabel设置width无效
魏曦的视频……去年完全没有的问题,现在: DetailView::widget 'template'=>'<tr><th style="width:120px;height:100px;color: #1c7430;"><div>{label}</div></th><td>{value}</td><...原创 2020-02-10 14:06:57 · 187 阅读 · 0 评论 -
star组件vue-tiny-rate的em值有点问题,覆盖有偏差
https://github.com/shengxinjing/vue-tiny-rate/issues https://www.zhihu.com/question/46943112/answer/113583615 shengxinjing/vue-tiny-rate mpvue的一行写star组件,star的数值和图案出现偏差,不过我没有使用github组件,而是视频教的直接自己...原创 2019-06-13 10:46:53 · 172 阅读 · 0 评论 -
css中float导致的塌陷
参考: https://blog.csdn.net/uuihoo/article/details/79591751 https://www.cnblogs.com/hyt-jinhua/p/6201818.html https://blog.csdn.net/chris_z_0622/article/details/65442975转载 2019-06-15 09:32:57 · 112 阅读 · 0 评论 -
文字居中对齐的css样式
水平对齐比较简单,text-align:center; 垂直居中比较麻烦,height=line-height=xxx,还是不行 https://www.cnblogs.com/xiaozhumaopao/p/5803188.html https://blog.csdn.net/jiayipianningmeng/article/details/78272929 这两个介绍应该是比较简单的...转载 2019-06-15 10:01:39 · 1865 阅读 · 0 评论 -
css中类选择器 .menu.selected 中间有没有空格的差别
先看看代码 nav .menu{ -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; width: 20%; height: 40px; line-height: 40px; font...原创 2019-06-17 05:51:57 · 769 阅读 · 0 评论 -
Module build failed: TypeError: this.getResolve is not a function at Object.loader 安装node-sass运行报错
npm install sass-loader node-sass --save-dev npm install stylus stylus-loader --save-dev mpvue想同时用stylus和sass,刚开始只用sass没问题,后来一起装上去就出问题了。 然后卸了重装sass,还是不行。 Module build failed: TypeError: this.getR...原创 2019-09-22 15:32:17 · 288 阅读 · 0 评论 -
css如何让两个div并列在同一行
https://blog.csdn.net/weixin_43650440/article/details/83897342 貌似不行?? 然后参考: https://blog.csdn.net/xuerwang/article/details/81981741 需求:两个div块级元素在同一行水平显示。 说明:两种方法来实现 1、两个div全部设置成displa...原创 2019-09-22 19:13:04 · 22897 阅读 · 0 评论