:after 写三角形 border .tooltip:after { content: ''; position: absolute; border: 6px solid #5190ac; border-color: #5190ac transparent transparent; 0; height: 0; bottom: -12px; left: 50%; margin-left: -6px; }