<template>
|
<div class="public-border">
|
<span></span>
|
<span></span>
|
<span></span>
|
<span></span>
|
</div>
|
</template>
|
|
<script>
|
export default {
|
name: 'PublicBorder'
|
}
|
</script>
|
|
<style lang="less" scoped>
|
.public-border {
|
position: relative;
|
background-color: @background-color;
|
border: 1px solid #396d83;
|
}
|
|
.public-border span:nth-child(1) {
|
position: absolute;
|
left: -1px;
|
top: -1px;
|
padding: 6px;
|
border-style: solid;
|
border-color: #02a6b5;
|
border-width: 1px 0 0 1px;
|
}
|
|
.public-border span:nth-child(2) {
|
position: absolute;
|
right: -1px;
|
top: -1px;
|
padding: 6px;
|
border-style: solid;
|
border-color: #02a6b5;
|
border-width: 1px 1px 0 0;
|
}
|
|
.public-border span:nth-child(3) {
|
position: absolute;
|
right: -1px;
|
bottom: -1px;
|
padding: 6px;
|
border-style: solid;
|
border-color: #02a6b5;
|
border-width: 0 1px 1px 0;
|
}
|
|
.public-border span:nth-child(4) {
|
position: absolute;
|
left: -1px;
|
bottom: -1px;
|
padding: 6px;
|
border-style: solid;
|
border-color: #02a6b5;
|
border-width: 0 0 1px 1px;
|
}
|
</style>
|