Skip to content

Commit

Permalink
Improved compatibility with edge on mobile.
Browse files Browse the repository at this point in the history
  • Loading branch information
originalnicodr committed Dec 16, 2023
1 parent 2f991c5 commit 917392a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/home/year-cover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,11 @@ const coverFrameStyle: CSS.Properties = {
bottom: '20px', /* Adjust bottom position */
backdropFilter: 'blur(20px) brightness(125%) saturate(120%)',
maskComposite: 'exclude',
WebkitMaskComposite: 'exclude',
mask:
'linear-gradient(transparent 0%, white 0%, white calc(0% + 15px), transparent calc(0% + 15px), transparent calc(100% - 15px), white calc(100% - 15px), white 100%, transparent 100%), linear-gradient(0.25turn, transparent 0%, white 0%, white calc(0% + 15px), transparent calc(0% + 15px), transparent calc(100% - 15px), white calc(100% - 15px), white 100%, transparent 100%)',
WebkitMask:
'linear-gradient(transparent 0%, white 0%, white calc(0% + 15px), transparent calc(0% + 15px), transparent calc(100% - 15px), white calc(100% - 15px), white 100%, transparent 100%), linear-gradient(0.25turn, transparent 0%, white 0%, white calc(0% + 15px), transparent calc(0% + 15px), transparent calc(100% - 15px), white calc(100% - 15px), white 100%, transparent 100%)',
}

const framedTextStyle: CSS.Properties = {
Expand Down

0 comments on commit 917392a

Please sign in to comment.