1,
<div id="test"></div> #test { display: inline-block; width: 100px; height: 100px; background: linear-gradient(135deg, transparent 10px, #58a 0) top left, linear-gradient(-135deg, transparent 10px, #58a 0) top right, linear-gradient(-45deg, transparent 10px, #58a 0) bottom right, linear-gradient(45deg, transparent 10px, #58a 0) bottom left; background-size: 50% 50%; background-repeat: no-repeat; }
标签:linear,倒角,CSS0027,gradient,10px,background,58a,div,transparent From: https://www.cnblogs.com/eliteboy/p/16734356.html