使用border-radius属性制作特殊图形

使用border-radius属性制作特殊图形

<!DOCTYPE html>
<html>31
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			.circle{
				width: 200px;
				height: 200px;
				background-color: red;
				margin: 0 auto;
				/*border-top-left-radius:50%;*/
				/*border-top-right-radius: 50%;*/
				border-bottom-left-radius:50%;/*制作圆角*/
				border-top-right-radius:50%;
				border-radius: 50%;/*制作原型*/
				text-align: center;
				line-height: 200px;
				font-size: 48px;
			}
		</style>
	</head>
	<body>
		<div class="circle">
			1		
		</div>
	</body>
</html>

posted @ 2026-06-26 09:12  Nuyoahr  阅读(24)  评论(0)    收藏  举报