上三角形,上三角形,頂部是尖的,所以用border-left,border-right,和border-bottom可以實(shí)現(xiàn),給bottom一個(gè)顏色,其他設(shè)置為transparent CSS Code復(fù)制內(nèi)容到剪貼板 #triangle-up { width: 0; height: 0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-bottom: 100px so...
www.dbjr.com.cn/css/4618...html 2025-5-24