自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 div自动适应内容宽度,并且居中

内层div的display设置为inline-block,确保div的宽度适应内容的宽度外层div的text-align设置为center,即保证内层div居中显示例子:HTML <div class="M-box"> <div class="M-box2 m-style"></div&gt...

2018-07-20 20:25:05 24530 1

原创 npm ERR! Failed at the node-sass@4.5.2 postinstall script. npm ERR! This is probably not a problem

$ npm install> node-sass@4.5.2 install F:\work\jnyy\server-no-dubbo\littlec-eecweb\node_modul ...

2018-07-16 19:31:40 9356

转载 stylus的引用方式 ,~ 是stylus的写法

在项目中,引入.styl文件的时候,用来下面方式1 @import "~common/stylus/variable.styl"~ 是stylus的写法,参考https://github.com/shama/stylus-loader~common 表示相对 common,然后我们在 webpack 配置了 common 的 alias,就能找到了它的路径了...

2018-07-05 00:04:30 5828

转载 This dependency was not found: * common/stylus/index.styl in ./src/main.js To install it, you can ru

有如下错误:This dependency was not found:* common/stylus/index.styl in ./src/main.jsTo install it, you can run: npm install --save common/stylus/index.styl 的解决办法是 在 解决:1、首先 npm install stylus-loader stylus...

2018-07-04 23:37:23 4242

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除