前端群-362632903、java群-513239897、.net群-317243636
jquery
jquery插件
jquery教程
jquery下载
css3
html5
jquery特效
jquery手册
热门关键字:
jquery
>
jquery教程
>
div+css
> 滑动门真正的魅力之tips小提示
滑动门真正的魅力之tips小提示
3055
作者:
管理员
发布时间:
2012/7/25 22:39:45
评论数:
0
转载请自觉注明原文:
http://www.jq-school.com/Show.aspx?id=11
滑动门真正的魅力之——tips小提示
样式代码如下:
.tips{
position
:
relative
;
height
:
300px
;}
.tips-box-b{
position
:
absolute
;
font-size
:
12px
;
color
:
#666
;
background
:
url
(tipsbg.png)
right
top
no-repeat
;
height
:
26px
;
padding-right
:
6px
;}
.tips-box-b .tips-content{
background
:
url
(tipsbg.png)
left
top
no-repeat
;
height
:
26px
;
float
:
left
;
line-height
:
20px
;
padding-left
:
6px
;}
.tips-box-t{
position
:
absolute
;
font-size
:
12px
;
color
:
#666
;
background
:
url
(tipsbg.png)
right
-28px
no-repeat
;
height
:
27px
;
padding-right
:
6px
;}
.tips-box-t .tips-content{
background
:
url
(tipsbg.png)
left
-28px
no-repeat
;
height
:
20px
;
float
:
left
;
padding-top
:
6px
;
line-height
:
20px
;
padding-left
:
6px
;}
.tips-box-l{
position
:
absolute
;
font-size
:
12px
;
color
:
#666
;
height
:
21px
;}
.tips-box-l span{
background
:
url
(tipsbg.png)
left
-58px
;
float
:
left
;
height
:
21px
;
width
:
10px
;}
.tips-box-l .tips-content{
background
:
url
(tipsbg.png)
right
-58px
;
height
:
21px
;
line-height
:
20px
;
padding-right
:
6px
;
float
:
left
;}
.tips-box-r{
position
:
absolute
;
font-size
:
12px
;
color
:
#666
;
height
:
21px
;}
.tips-box-r span{
background
:
url
(tipsbg.png)
right
-83px
; right:
-10px
;
position
:
absolute
;
height
:
21px
;
width
:
10px
;}
.tips-box-r .tips-content{
background
:
url
(tipsbg.png)
left
-83px
;
height
:
21px
;
line-height
:
20px
;
padding-left
:
6px
;
float
:
left
;}
HTML代码如下:
<
div
class
=
"tips"
>
<
div
class
=
"tips-box-b"
style
=
"top:50px;"
>
<
span
>
</
span
>
<
div
class
=
"tips-content"
>
漫画
</
div
>
</
div
>
<
div
class
=
"tips-box-t"
style
=
"top:100px;"
>
<
span
>
</
span
>
<
div
class
=
"tips-content"
>
网友插件分享
</
div
>
</
div
>
<
div
class
=
"tips-box-l"
style
=
"top:150px;"
>
<
span
>
</
span
>
<
div
class
=
"tips-content"
>
漫画原创插件分享
</
div
>
</
div
>
<
div
class
=
"tips-box-r"
style
=
"top:200px;"
>
<
span
>
</
span
>
<
div
class
=
"tips-content"
>
漫画原创插件分享
</
div
>
</
div
>
</
div
>
背景如下:
效果如下:
如果您觉得本文的内容对您的学习有所帮助:
关键字:
滑动门真正的魅力之tips小提示
相关文章:
DIV+CSS布局及注意问题!
用div+css做一个简单的登录界面。【204】
DIV+CSS标准化网页布局
最简单的div+css【201】
用css定位
设计各内容块的位置
用div将页面划分
Web前端开发技术之Div+Css基础
div+css入门框架架构,方法教学,终极篇
我的学习div+css的步骤
文章分类
/ Classification
jquery教程(3860)
插件详解(9)
常用功能(20)
div+css(145)
前端开发利器(20)
html5(322)
javascript(91)
网页设计(40)
越玩越聪明(17)
算法你更懂(52)
PHP知识(37)
css3(89)
DedeCMS(1)
ASP知识(1)
数据库(7)
.net(18)
java(380)
Aui-core(0)
Android开发(2)
jquery mobile(1)
精英招纳(22)
开心一刻(8)
ci框架(2)
迅雷会员账号分享(2)
前端框架(17)
金钱谷(14)
P2P网贷系统(18)
小额贷款(5)
众筹系统(63)
催收系统(1)
瀑布流(1)
股权众筹系统(8)
回报众筹系统(0)
html5游戏(10)
网络流行语(11)
UED(8)
棒棒糖游戏中心(6)
励志名言(5)
typescript(1)
占便宜(1)
zepto(1)
好听的英文歌曲(9)
html5视频直播(3)