用简单的线性渐变来把图形的右半部分设置为棕色 .box{ width: 100px; height: 100px; border-radius: 50%; background: yellowgreen; background-image: linear-gradient(to right,transparent 50%, #655 0); } </style></head><body> <div class="box"></div>