html css basics: making fake Taobao menu bar

<!DOCTYPE html>
<html lang="en">
<head>
	<title>Menu Demo</title>
	<meta charset="utf-8">
	<style type="text/css">
		*{
			margin:0;
			padding: 0;
		}
		ul{
			list-style: none;
		}
		li{
			float: left;
			margin: 10px;
			color: #f40;
			font-weight: bold;
			font-size: 14px;
			height: 25px;
			line-height: 25px;
			padding: 0 5px;
		}
		li:hover{
			border-radius: 15px;
			background-color: #f40;
			color: #fff;

		}



	</style>
</head>
<body>

	<ul type="circle">
		<li>天猫</li>
		<li>聚划算</li>
		<li>天猫超市</li>

	</ul>


</body>
</html>

 

Published 27 original articles · won praise 1 · views 977

Guess you like

Origin blog.csdn.net/jason156/article/details/104073169