html+css 写出三角形状
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>hml+css 写出三角形状</title> <style> .nabla { width: 50px; height: 50px; border: 25px solid transparent; border-bottom-color: aquamarine; } </style> <body> <div class="nabla"></div> </body> </html>
只是查找方便的总结