diff --git a/components/ContentPage.vue b/components/ContentPage.vue index 507c8d8..2885f46 100644 --- a/components/ContentPage.vue +++ b/components/ContentPage.vue @@ -49,8 +49,7 @@ export default { }, backgroundStyle () { return { - background: this.img, - opacity: .5 + backgroundImage: this.img } } }, @@ -92,4 +91,9 @@ export default { top: 0; left: 0; } + +.background-img { + background-size: cover; + opacity: .5; +}