<template>
    <div class="meta-bg-box">
        <i></i>
        <i></i>
        <i></i>
        <i></i>
        <slot></slot>
    </div>
</template>

<script>
export default {
    name: 'MetaBgBox'
}
</script>

<style lang="scss" scoped>
.meta-bg-box {
    width: 100%;
    height: 100%;
    box-shadow: 0 0 10px 0 inset #077598 ;
    padding: 10px;
    position: relative;
    background: linear-gradient(90deg, #102532, #162b3a 50%, #0f2430);
    box-sizing: border-box;
    i {
        display: inline-block;
        position: absolute;
        width: 2.6vw;
        height: 2.6vw;
        border-style: solid;
        border-width: 0px;
        @include bg_corner();
        &:nth-child(1) {
            left: 0;
            top: 0;
            border-top-width: 3px;
            border-left-width: 3px;
        }
        &:nth-child(2) {
            right: 0;
            top: 0;
            border-top-width: 3px;
            border-right-width: 3px;
        }
        &:nth-child(3) {
            left: 0;
            bottom: 0;
            border-left-width: 3px;
            border-bottom-width: 3px;
        }
        &:nth-child(4) {
            right: 0;
            bottom: 0;
            border-right-width: 3px;
            border-bottom-width: 3px;
        }
    }
}
</style>
