0
点赞
收藏
分享

微信扫一扫

画个三角形

老王420 2022-02-01 阅读 46

画三角形

可以变换位置

// <!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>三角形</title>
	<style>
		div{
			width: 0px;
			border-top: 100px solid transparent;
			border-right: 100px solid transparent;
			border-bottom: 100px solid transparent;
			border-left: 100px solid #00f;
			position:absolute;
  			left:300px;
  			top:150px;
		}
</style>
</head>
<body>
	<div></div>
</body>
</html>
举报

相关推荐

0 条评论