Q3:实心三角与空心三角的实现 12345678910111213141516/* 实心三角 */.triangle { width: 0; height: 0; border: 30px solid; border-color: transparent transparent yellow transparent;}/* 空心三角 */.triangle { width: 20px; height: 20px; border: 2px solid; border-color: black black transparent transparent; transform: rolate(45deg);}