提问列表 > 查看问题

如果利用border属性制作三角形?

提问者: tong  •  提问时间: 2024-04-28 09:16:02

<html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" c> <meta name="viewport" c> <title>Document</title> <style> .triangle {width: 0;height: 0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-top: 100px solid red; } </style> </head> <body>
</body> </html>
目前尚无回复
您需要登录后才可以回复   登录  |  注册