1. cc-shadow-box

cc-shadow-box

阴影四角框

安装

npm install cc-shadow-box

使用

import shadowBox from 'cc-shadow-box'
import 'cc-shadow-box/styles/index.css'
Vue.use(shadowBox)

API

属性 描述 默认值 类型 其他
showBorder 是否显示边框 true Boolean
borderRadius 圆角大小 10px String
contentPadding 内边距 15px String
contentInset 内发光颜色 rgba(9,70,92,0.8) String
contentSpread 内发光距离 15px String
contentBackground 背景颜色 rgba(9,70,92, 0.1) String
borderString 边框样式 3px solid rgb(0,226,253) String
borderPosition 边框位置 inner 'inner' 'outside'
boxSize 边框宽高 50px String