需要根据题目描述设置float与border-top属性。 <!DOCTYPE html> <html> <head> <meta charset=utf-8> <style type="text/css"> .topbranch { width: 0px; height: 0px; /* * TODO: 上枝叶效果 */ float: left; border-bottom: 100px solid green; border-top: 100px solid transparent; border-left:100px solid...