用CSS实现的一张图完成的按钮效果
2018-10-12 14:10
676 查看
.inp_L1,.inp_L2,{background:url(//www.jb51.net/images/bg_x.jpg) no-repeat} .inp_L1{ width:67px; height:23px; background-position:-4px -4px; border:0; color:#464646; line-height:23px} .inp_L2{ width:67px; height:23px; background-position:-4px -30px; border:0; color:#464646; line-height:23px}
用CSS实现的一张图完成的导航条 ul,li{ list-style:none; float:left;} body{ font-size:12px; line-height:1.6; font-family:Verdana, "宋体", Arial; text-align:center;} #info li{ margin-left:4px; margin-top:15px;} #info a {display:block;text-align:center; padding-left:15px; padding-top:2px;padding-bottom:1px;background-image: url(//www.jb51.net/images/bg-2.GIF); background-repeat: no-repeat;color: #000; width:47px; cursor:hand; text-decoration: none;} #job a:link,#job a:visited{background-position: -62px 0px;} #eve a:link,#eve a:visited{background-position: -124px 0px;} #oth a:link,#oth a:visited{background-position: -186px 0px;} #car a:hover ,#car a:active {background-position: 0px -22px; color:#fff;} #job a:hover ,#car a:active {background-position: -62px -22px; color:#fff;} #eve a:hover ,#car a:active {background-position: -124px -22px; color:#fff;} #oth a:hover ,#car a:active {background-position: -186px -22px; color:#fff;}
- 游 戏
- 娱 乐
- 菜 单
- 好 玩
相关文章推荐
- 用CSS实现的一张图完成的按钮效果
- 用CSS实现的一张图完成的按钮效果
- 用CSS实现的一张图完成的按钮效果
- 用CSS实现的一张图完成的按钮效果
- CSS实现按钮或文本框圆角效果
- 利用CSS实现按钮效果(无图片)
- 纯css完成角标对话框和关闭按钮效果
- CSS 实现按钮及线呼吸灯效果
- css美化number类型输入框美化实现自定义+、-号点击按钮增减效果
- 纯CSS实现3D按钮效果
- 纯CSS完成tab实现5种不同切换对应内容效果
- CSS实现的鼠标经过按钮的效果
- atitit.按钮光标滑过高亮切换以及其他动态效果的实现css html js --attilax总结
- 通过CSS切换图片效果,点击这个图片可以实现连接功能,这里的图片在一张大图片中,每个并要切换的图片没有切换,通过disposition定位的方式做
- 使用CSS实现按钮点击波纹效果
- atitit.按钮光标滑过高亮切换以及其他动态效果的实现css html js --attilax总结
- 通过css实现单选按钮效果
- CSS实现五颜六色按钮组成的导航条效果代码
- CSS实现自适应宽度的菜单按钮效果代码
- Div+css菜单:一张图片实现翻转效果!