首页
网页特效库
网页特效库
导航菜单
按钮表单
背景特效
时间日期
图片特效
鼠标特效
文本操作
窗口页面
状态栏类
警告对话
综合应用
游戏娱乐
首页
>
特效
>
按钮表单
> 正文
CSS自适应宽度按钮
2009-11-24 按钮表单 240℃
<!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" /> <title>CSS自适应宽度圆角按钮 @5key.net</title> <style> *{margin:0; padding:0;} body{padding:10px; font-size:12px;} h1{margin:0; padding:10px 0; font-size:14px; font-weight:bold;} a{background:url(http://www.lanrentuku.com/down/js/images/12447749840.gif) left 0; color:#fff; text-decoration:none; height:30px; float:left; cursor:hand; margin:0 5px 0 0;} a:hover{background:url(http://www.lanrentuku.com/down/js/images/12447749840.gif) left -30px;height:30px;} a span{background:url(http://www.lanrentuku.com/down/js/images/12447749840.gif) right 0; padding:9px 8px 5px 0; margin:0 0 0 8px; float:left; height:16px;} a:hover span{background:url(http://www.lanrentuku.com/down/js/images/12447749840.gif) right -30px; color:#000; padding:9px 8px 5px 0; margin:0 0 0 8px; height:16px; } </style> </head><body> <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> </body> </html>
相关特效代码
无相关信息
热门特效代码
JavaScript+CSS打造漂亮的select
CSS按钮样式大全
CSS 3D按钮特效
几个比较好看的Button的CSS
CSS配合htc文件巧妙应用实现反转
带滑动条的DIV+CSS+JS登录框代码
JS+CSS实现精致、符合标准的表单
网页常用按钮大全
下拉菜单特效
鼠标经过input时变颜色
推荐特效代码
几个比较好看的Button的CSS
JavaScript+CSS打造漂亮的select
复制标题和链接,发送给你的好友
CSS自适应宽度按钮
带滑动条的DIV+CSS+JS登录框代码
网页放大缩小按钮效果