How does css achieve this concave effect?

clipboard.png

as shown in the figure above, how to achieve the concave effect between the "hot game" and the "home page"? Ask the god for advice!

Jan.21,2022

https://codepen.io/Ariex/pen/.
uses background-blend-mode: overlay; so IE and Edge users won't see it, but it doesn't matter. Anyway, IE has been thrown into the trash, and Edge will soon be replaced by MS with chromium


.

Thank you for the invitation.

you can use border-radius to achieve reverse fillet. The principle can be found in my previous article using pure css to achieve a coupon

.

compatible with all browsers that support rounded corners

border:500px solid red;//

here is the implementation of demo

https://codepen.io/xboxyan/pe.


roughly implements


this can be achieved with border-radius


svg, compatibility should be fine
https://jsfiddle.net/3j6uehLy/1/


border-radius:0px 34px 34px 0px;
overflow:hidden;

this doesn't work in a translucent background color. Please refer to @ Xeira's answer


border-radius is similar to drawing a circle for OK,.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea5ec4-1d9a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea5ec4-1d9a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?