<!DOCTYPE html>
<html>
<head>
	<title>Five Pointed Star</title>
	<style>
		.star {
			position: relative;
			width: 0;
			height: 0;
			border-right: 100px solid transparent;
			border-bottom: 70px solid #f1c40f;
			border-left: 100px solid transparent;
			transform: rotate(35deg);
		}
		.star:before {
			content: "";
			position: absolute;
			top: -37px;
			left: -100px;
			width: 0;
			height: 0;
			border-right: 100px solid transparent;
			border-bottom: 70px solid #f1c40f;
			border-left: 100px solid transparent;
			transform: rotate(-70deg);
		}
	</style>
</head>
<body>
	<div class="star"></div>
</body>
</html>
帮我用html画个五角星

原文地址: https://www.cveoy.top/t/topic/EgY 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录