首页 > 开发 > CSS > 正文

一款超酷的js+css3实现的3D标签云特效兼容ie7/8/9

2024-07-11 08:39:34
字体:
来源:转载
供稿:网友

今天给大家带来一款超酷的js+css3实现的3D标签云特效,

看惯了flash的,来试试这个吧。

ie7,8,9兼容哦~

html如下:

复制代码代码如下:
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=gb2312″ />
<meta http-equiv=”X-UA-Compatible” content=”IE=7″ />
<title>超酷的js+css3实现的3D标签云特效,前端爱好者www.250ba.com</title>
<style>
body{ font-family:”微软雅黑”, Arial, sans-serif;} #main{border:none; background:none;}
body,ul,li,h1,h2,h3,p,form{margin:0;padding:0;}body{background:#fbfbfb;color:#444;font-size:14px;}</p>
<p>a{color:#444;text-decoration:none;}a:hover{color:red;}</p>
<p>#tagscloud{width:240px;height:250px;position:relative;font-size:12px;color:#333;margin:20px auto 0;text-align:center;}
#tagscloud a{position:absolute;top:0px;left:0px;color:#333;font-family:Arial;text-decoration:none;}
#tagscloud a:hover{color:#fff;padding:5px;display:block;background:#D02F53;}
#tagscloud a.tagc1{margin:0 10px 15px 0;line-height:18px;width:65px;text-align:center;font-size:12px;padding:1px 5px;white-space:nowrap;display:inline-block;border-radius:3px;background:#666;color:#fff;}
#tagscloud a.tagc2{margin:0 10px 15px 0;line-height:18px;width:60px;text-align:center;font-size:12px;padding:1px 5px;white-space:nowrap;display:inline-block;border-radius:3px;background:#F16E50;color:#fff;}
#tagscloud a.tagc5{margin:0 10px 15px 0;line-height:18px;width:70px;text-align:center;font-size:12px;padding:1px 5px;white-space:nowrap;display:inline-block;border-radius:3px;background:#006633;color:#fff;}
</style>
</head>
<body>
<center>
<div style=”font-size:15px; font-weight:bold; text-align:center; line-height:25px;”>超酷的js+css3实现的3D标签云特效
</center>
<div id=”tagscloud”>
<a href=”#” class=”tagc1″ title=”星级评分”>星级评分(2)</a>
<a href=”#” class=”tagc2″ title=”层特效”>层特效(34)</a>
<a href=”#” class=”tagc5″ title=”关键字”>关键字(8)</a>
<a href=”#” class=”tagc2″ title=”拖拽”>拖拽(5)</a>
<a href=”#”” class=”tagc2″ title=”分页插件”>分页插件(6)</a>
<a href=”#” class=”tagc1″ title=”时间插件”>时间插件(9)</a>
<a href=”#” class=”tagc2″ title=”弹出层”>弹出层(60)</a>

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表