3种形式tips帮助提示框代码

版权:原创 更新时间:1年以上
[该文章底部包含文件资源,可根据自己情况,决定是否下载资源使用,时间>金钱,如有需要,立即查看资源]

以下是 3种形式tips帮助提示框代码 的示例演示效果:

当前平台(PC电脑)
  • 平台:

部分效果截图:

3种形式tips帮助提示框代码

HTML代码(index.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 name="keywords" content="JS代码,其他代码,JS广告代码,JS特效代码" />
<meta name="description" content="此代码内容为3种形式tips帮助提示框代码,属于站长常用代码" />
<title>3种形式tips帮助提示框代码</title>
<link rel="stylesheet" type="text/css" href="css/lrtk.css">
</head>
<body>
<ul style="margin-top:50px;">
	<li><a href="#">纯文字</a></li>
	<li><a href="index-html.html">HTML代码</a></li>
	<li><a href="index-image.html">图片</a></li>
</ul>
<!-- 代码 开始 -->
<div id="content">
	
	<div class="help-tip">
		<p>This is the inline help tip! You can explain to your users what this section of your web app is about.</p>
	</div>

	<p>此代码共3种演示效果,请点击上面的按钮进行切换。</p>

	<p>鼠标移到右侧的“?”问号上查看效果。</p>

</div>
<!-- 代码 结束 -->
</body>
</html>

CSS代码(lrtk.css):

/* ����ͼ�� �Ѽ����� www.lanrentuku.com */
/*-------------------------Simple reset--------------------------*/
*{margin:0;padding:0;}
/*-------------------------General Styles--------------------------*/
html{background-color:#eaf0f2;}
body{font:14px/1.4 'Arial','Helvetica',sans-serif;color:#5b6469;}
a,a:visited{outline:none;color:#389dc1;}
a:hover{text-decoration:none;}
section,footer,header,hgroup,aside{display:block;}
p{margin-bottom:20px;}
p:last-child{margin-bottom:0;}
/*-------------------------The headings--------------------------*/
hgroup{text-align:center;padding:60px 0 48px;font-family:'PT Serif','Cambria',serif;}
hgroup h1{color:#828e93;font-size:18px;font-weight:normal;}
hgroup h2{font-size:48px;}
/*-------------------------The color buttons--------------------------*/
ul{list-style:none;text-align:center;margin-bottom:48px;}
ul li{display:inline-block;margin:0 8px;}
ul li:hover{opacity:0.9;}
ul li a{color:#fff !important;text-decoration:none !important;font-size:15px;font-weight:bold;display:inline-block;padding:6px 14px;border-radius:3px;box-shadow:1px 1px 1px rgba(0,0,0,0.1);}
ul li:nth-child(1) a{background-color:#6bb9e1;}
ul li:nth-child(2) a{background-color:#ec7164;}
ul li:nth-child(3) a{background-color:#6ad3c3;}
/*-------------------------The content section--------------------------*/
#content{background-color:#FFF;border-radius:4px;padding:40px;margin:0 auto;max-width:600px;position:relative;margin:0 auto 100px;}
/*-------------------------Inline help tip--------------------------*/
.help-tip{position:absolute;top:18px;right:18px;text-align:center;background-color:#BCDBEA;border-radius:50%;width:24px;height:24px;font-size:14px;line-height:26px;cursor:default;}
.help-tip:before{content:'?';font-weight:bold;color:#fff;}
.help-tip:hover p{display:block;transform-origin:100% 0%;-webkit-animation:fadeIn 0.3s ease-in-out;animation:fadeIn 0.3s ease-in-out;}
.help-tip p{display:none;text-align:left;background-color:#1E2021;padding:20px;width:300px;position:absolute;border-radius:3px;box-shadow:1px 1px 1px rgba(0,0,0,0.2);right:-4px;color:#FFF;font-size:13px;line-height:1.4;}
.help-tip p:before{position:absolute;content:'';width:0;height:0;border:6px solid transparent;border-bottom-color:#1E2021;right:10px;top:-12px;}
.help-tip p:after{width:100%;height:40px;content:'';position:absolute;top:-40px;left:0;}
@-webkit-keyframes fadeIn{0%{opacity:0;transform:scale(0.6);}
100%{opacity:100%;transform:scale(1);}
}
@keyframes fadeIn{0%{opacity:0;}
100%{opacity:100%;}
}
/*----------------------------The Demo Footer-----------------------------*/
footer{width:770px;font:normal 16px Arial,Helvetica,sans-serif;padding:15px 35px;position:fixed;bottom:0;left:50%;margin-left:-420px;background-color:#1f1f1f;background-image:linear-gradient(to bottom,#1f1f1f,#101010);border-radius:2px 2px 0 0;box-shadow:0 -1px 4px rgba(0,0,0,0.4);z-index:1;}
footer a.tz{font-weight:normal;font-size:16px !important;text-decoration:none !important;display:block;margin-right:300px;text-overflow:ellipsis;white-space:nowrap;color:#bfbfbf !important;z-index:1;}
footer a.tz:before{content:'';background:url('http://cdn.tutorialzine.com/misc/enhance/v2_footer_bg.png') no-repeat 0 -53px;width:138px;height:20px;display:inline-block;position:relative;bottom:-3px;}
footer .close{position:absolute;cursor:pointer;width:8px;height:8px;background:url('http://cdn.tutorialzine.com/misc/enhance/v2_footer_bg.png') no-repeat 0 0px;top:10px;right:10px;z-index:3;}
footer #tzine-actions{position:absolute;top:8px;width:500px;right:50%;margin-right:-650px;text-align:right;z-index:2;}
footer #tzine-actions iframe{display:inline-block;height:21px;width:95px;position:relative;float:left;margin-top:11px;}
@media (max-width:1024px){#bsaHolder,footer{display:none;}
}
附件:下载该文件资源,减少时间成本(增值服务)
留言
该资源可下载
File Source
.rar
30.14 KB
Html JS 其它特效1
最新结算
jquery虚拟键盘中文打字效果js代码
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
jquery虚拟键盘中文打字效果js代码
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
HTML5实现CSS滤镜图片切换特效代码
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
jQuery头像裁剪插件cropbox js代码
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
jQuery头像裁剪插件cropbox js代码
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
CSS3制作3D图片立方体旋转特效
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
CSS3制作3D图片立方体旋转特效
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
CSS3制作3D图片立方体旋转特效
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
CSS3制作3D图片立方体旋转特效
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
jQuery+css3实现信封效果
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
我们力求给您提供有用的文章,再此基础上,会附加营收资源,不做任何广告,让平台可以更好发展 若您发现您的权利被侵害,或使用了您的版权,请发邮件联系 sunlifel@foxmail.com ggbig觉得 : 不提供源码的文章不是好文章
合作伙伴
联系我们
  • QQ:21499807
  • 邮箱:sunlifel@foxmail.com
  • QQ扫一扫加QQ
    QQ扫一扫
Copyright 2023-2024 ggbig.com·皖ICP备2023004211号-1
打赏文章