How to code this background-blending border-radius layout?

Hey, To increase the image size, I tried transform: scale(1.5). It seemed to kind of work, but I thought there should be a better way to do this. How would you approach this problem?
No description
7 Replies
Ayd
AydOP13mo ago
Extra images:
Ayd
AydOP13mo ago
No description
Ayd
AydOP13mo ago
No description
Tok124 (CSS Nerd)
You could do something like this https://codepen.io/tok124/pen/PoVBKmZ
clevermissfox
clevermissfox13mo ago
Pseudo elements for decoration
Ayd
AydOP13mo ago
Nice idea. What about the this part on desktop view?
No description
Tok124 (CSS Nerd)
Use the same idea. Kevin also have a video about this kind of things https://www.youtube.com/watch?v=khjVPkO35F0
Kevin Powell
YouTube
Creating an inverted border-radius with CSS
The other day on Twitter, @FlorinPop pulled me into a conversation, wondering how to create inverted, round corners. Mask-image was probably the easy answer, but after someone in the thread said that making an SVG mask felt like overkill, I had to try and see if I could think of an alternative way! 🔗 Links ✅ The original tweet: https://twi...
Want results from more Discord servers?
Add your server