博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
滑动门
阅读量:7009 次
发布时间:2019-06-28

本文共 1304 字,大约阅读时间需要 4 分钟。

css代码

*{
margin: 0; padding: 0; } .box{
width: 100%; height: 60px; background: url("image/bg.png") repeat-x; } li{
float: left; list-style: none; margin: 0px 15px; line-height: 36px; position: relative; } a{
text-decoration: none; color: #ffffff; display: inline-block; width:85px; height: 37px; line-height: 28px; text-align: center; } a:hover{
background: url("image/btn.png") no-repeat; color: #388201; } span{
display: inline-block; width: 0; height: 0; border:10px solid; border-color: transparent; margin-top: 22px; margin-left: -26px; position: absolute; } a:hover span {
border-color: #ffffff transparent transparent transparent; }

html代码:

 

转载于:https://www.cnblogs.com/yangshangjin/p/7009749.html

你可能感兴趣的文章
POJ - 2391 最大流
查看>>
WCF学习资料汇总
查看>>
15-Flutter移动电商实战-商品推荐区域制作
查看>>
LeetCode-Best Time to Buy and Sell Stock I&&II
查看>>
Java compiler level does not match解决方法(转)
查看>>
ROS初级教程 cmake cmakelist.txt 的编写教程
查看>>
Comparing Inline and Multi-Statement Table valued UDFs
查看>>
python 机器学习
查看>>
php如何控制客户端生成缓存
查看>>
不错的在线印章生成器网站
查看>>
Arduino控制LCD显示helloworld
查看>>
线程、任务和同步学习笔记(一)
查看>>
JavaScript this
查看>>
OpenJudge/Poj 1163 The Triangle
查看>>
POJ 3130 半平面交+模版改进
查看>>
Python基础二
查看>>
AndroidStudio -- AndroidStuido中找不到cache.properties文件
查看>>
nginx 无法访问root权限的文件内容
查看>>
进程和线程有什么区别?
查看>>
关于text-align无法居中的问题
查看>>