add borderbox3 component
This commit is contained in:
parent
95c30832ad
commit
84e2374814
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
|
@ -0,0 +1,20 @@
|
|||
<template>
|
||||
<div class="border-box-3">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'BorderBox3'
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less">
|
||||
.border-box-3 {
|
||||
box-sizing: border-box;
|
||||
border-style: solid;
|
||||
border-image: url('./img/border.png') 17 24 18 19 fill;
|
||||
border-width: 24px;
|
||||
}
|
||||
</style>
|
Loading…
Reference in New Issue