Skip to content

Commit

Permalink
Add a clp-path ellipse on background for Page banner
Browse files Browse the repository at this point in the history
  • Loading branch information
MelanieMEB committed Mar 1, 2021
1 parent 7a05a9e commit 2cae139
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/slices/PageBanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export default {
background: `no-repeat url(${this.slice.primary.banner_background.url})`,
backgroundSize: 'cover',
backgroundPosition: 'top right',
'clip-path': 'ellipse(110% 50% at 50% 40%)',
}
}
style.backgroundColor = this.slice.primary.banner_background_color
Expand Down

0 comments on commit 2cae139

Please sign in to comment.