下面是样式:(1.这里千万要注意一点就是样式与样式之间不能有;号,不然;号后面的样式执行不到
2.z-index越大越在前面
3.要使用z-index定位的元素中必须有position为absolute
4.还有一点就是.qie:hover .showWords{xxxx}这个showWord的class必须在
.qie元素里面才能被拿到,这是一个筛选)
<style type="text/css">
.showWords{
display:none;
border-radius: 5px;
width:188px;
font-size:14;
color:yellow;
z-index:2;
text-align:left;
margin-top: -230px;
margin-left: 4px;
padding-bottom: 12px;
padding-right: 12px;
padding-left:20px;
padding-top:16px;
background-color: blue;
background-color: #c16;
background-image: -webkit-gradient(linear, 0 0, 100% 100%,
color-stop(.25, rgba(255, 255, 255, .2)), color-stop