You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
727 B
39 lines
727 B
<template>
|
|
<div class="blurred-box">
|
|
Salam
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.blurred-box {
|
|
position: relative;
|
|
width: 250px;
|
|
height: 350px;
|
|
top: calc(50% - 175px);
|
|
left: calc(50% - 125px);
|
|
background: inherit;
|
|
border-radius: 2px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.blurred-box:after {
|
|
content: '';
|
|
width: 300px;
|
|
height: 300px;
|
|
background: inherit;
|
|
position: absolute;
|
|
left: -25px;
|
|
right: 0;
|
|
top: -25px;
|
|
bottom: 0;
|
|
box-shadow: inset 0 0 0 200px rgba(255, 255, 255, 0.05);
|
|
filter: blur(10px);
|
|
}
|
|
</style>
|