初学JS值之用JS实现鼠标移入移出事件

  • Post author:
  • Post category:其他


<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>初学JS</title>
		<style>
		#webo{
			width:82px;
			height:123px;
		}
		  li{
		  	list-style:none;		  
		  }
		  
		  #list{
		  	width:80px;
		  	height:	30px;
		  	position: relative;
		  }
		  
		 a{
		  	color:black;
		  	text-decoration:none;
		  	display: block;	
		  	line-height: 30px;
		  	text-align: center;
		  	background: white;  	
		  }
		  
		#list1{
			margin:0;
		  	padding:0;
		  	width:80px;
		  	display: none;   
		}
		
	   #list1 li{
	   	   line-height:30px;
	   	   text-align: center;
	   	   border:	1px solid orange;	
	   	   border-top:none;
	   }			
			
		</style>
	</head>
	<body>
	 <div id="webo">
		<ul>
			<li id="list">
				<a id="link" href="#">微博</a>
			</li>
				<ul id="list1">
					<li



版权声明:本文为qq_19004625原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。