切角 【2018.11.24】
阿新 • • 發佈:2018-11-29
<html> <head> <title>切角</title> <style type="text/css"> .notching{ width:40px; height:40px; padding:40px; background:linear-gradient(135deg,transparent 15px,yellowgreen 0) top left, linear-gradient(-135deg,transparent 15px,yellowgreen 0) top right, linear-gradient(-45deg,transparent 15px, yellowgreen 0) bottom right, linear-gradient(45deg,transparent 15px,yellowgreen 0) bottom left; background-size:50% 50%; background-repeat:no-repeat; } </style> </head> <body> <div class="notching"/> </body> </html>