CSS滑动门Sliding door详解(2)

发布时间:2021-06-08

CSS滑动门Sliding door详解

以下为引用的内容:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>无标题文档</title>

<style>

body {font-size:12px;}

.nav {margin:0 auto; text-align:center; font-weight:bold; border-bottom:3px

solid #579cc6;}

.nav a {display:inline-block; margin:0 3px; height:25px;

background:url(/upimg/allimg/090506/0158361.jpg) left bottom no-repeat; padding-left:15px; color:#666; text-decoration:none; cursor:pointer;} .nav a span {display:inline-block; height:25px; line-height:25px;

background:url(/upimg/allimg/090506/0158361.jpg) right bottom no-repeat;

padding-right:15px;}

.nav a:hover {background:url(/upimg/allimg/090506/0158361.jpg) left top

no-repeat; color:#FFF;}

.nav a:hover span {background:url(/upimg/allimg/090506/0158361.jpg) right

top no-repeat;}

.nav a.set {background:url(/upimg/allimg/090506/0158361.jpg) left top

no-repeat; color:#FFF; }

.nav a.set span {background:url(/upimg/allimg/090506/0158361.jpg) right top

no-repeat;}

</style>

</head>

<body>

<div class="nav">

<a class="set" href="#"><span>首页</span></a>

<a href="#"><span>分类一</span></a>

<a href="#"><span>分类分类</span></a>

<a href="#"><span>还可以再长一点</span></a>

<a href="#"><span>欢迎</span></a>

<a href="#"><span>我的博客</span></a>

</div>

</body>

</html>

Moondy

积安堂蜂蜜收集

CSS滑动门Sliding door详解(2).doc 将本文的Word文档下载到电脑

精彩图片

热门精选

大家正在看

× 游客快捷下载通道(下载后可以自由复制和排版)

限时特价:7 元/份 原价:20元

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219