代码语言
.
CSharp
.
JS
Java
Asp.Net
C
MSSQL
PHP
Css
PLSQL
Python
Shell
EBS
ASP
Perl
ObjC
VB.Net
VBS
MYSQL
GO
Delphi
AS
DB2
Domino
Rails
ActionScript
Scala
代码分类
文件
系统
字符串
数据库
网络相关
图形/GUI
多媒体
算法
游戏
Jquery
Extjs
Android
HTML5
菜单
网页交互
WinForm
控件
企业应用
安全与加密
脚本/批处理
开放平台
其它
【
Css
】
html侧栏对应表单的提示显示
作者:
sjwc
/ 发布于
2015/3/23
/
1024
<html> <head> <title>侧栏对应提示</title> <style type="text/css"> *{ margin: 0; padding: 0; } .main{ width: 900px; height: auto; margin: 0 auto; overflow: hidden; border:none; } .leftbd{ width: 200px; height: 800px; border:1px solid #990099; float: left; } .leftbd2{ width: 200px; height: auto; max-height: 700px; border:none; float: left; overflow: hidden; } .rightbd{ width: 660px; height: 800px; border:1px solid #990099; margin-left: 20px; float: left; } .leftbd ul{ width: 200px; height: auto; max-height: 700px; overflow: hidden; margin-top: 30px; display:block; float: left; overflow-y: scroll; } .leftbd ul li{ width: 200px; display: block; font-size: 16px; padding: 15px 0; text-align: center; background: #eaeaea; margin-bottom: 3px; cursor: pointer; list-style-type: none; } .leftbd ul li:hover{ background: #009900; color: #ffffff; } .tishi{ position: absolute; width: 200px; font-size: 16px; padding: 15px 0; text-align: center; background: #000099; color: #990099; display: block; display: none; margin-top: -15px; margin-left: 132px; } </style> </head> <body> <div class="main"> <div class="leftbd"> <div class="leftbd2"> <ul class="leftul"> <li class="fd"><span class="tishi">哈哈</span> <span>android</span> </li> <li class="fd"><span class="tishi">哈哈2</span><span>c#</span></li> <li class="fd"><span class="tishi">哈哈3</span><span>iOS</span></li> <li class="fd"><span class="tishi">哈哈4</span><span>jquery</span></li> <li class="fd"><span class="tishi">哈哈5</span><span>Javascript</span></li> <li class="fd"><span class="tishi">哈哈5</span><span>Javascript</span></li> <li class="fd"><span class="tishi">哈哈5</span><span>Javascript</span></li> <li class="fd"><span class="tishi">哈哈</span> <span>android</span> </li> <li class="fd"><span class="tishi">哈哈2</span><span>c#</span></li> <li class="fd"><span class="tishi">哈哈3</span><span>iOS</span></li> <li class="fd"><span class="tishi">哈哈4</span><span>jquery</span></li> <li class="fd"><span class="tishi">哈哈5</span><span>Javascript</span></li> <li class="fd"><span class="tishi">哈哈5</span><span>Javascript</span></li> <li class="fd"><span class="tishi">哈哈5</span><span>Javascript</span></li> <li class="fd"><span class="tishi">哈哈</span> <span>android</span> </li> <li class="fd"><span class="tishi">哈哈2</span><span>c#</span></li> <li class="fd"><span class="tishi">哈哈3</span><span>iOS</span></li> <li class="fd"><span class="tishi">哈哈4</span><span>jquery</span></li> <li class="fd"><span class="tishi">哈哈5</span><span>Javascript</span></li> <li class="fd"><span class="tishi">哈哈5</span><span>Javascript</span></li> <li class="fd"><span class="tishi">哈哈5</span><span>Javascript</span></li><li class="fd"><span class="tishi">哈哈</span> <span>android</span> </li> <li class="fd"><span class="tishi">哈哈2</span><span>c#</span></li> <li class="fd"><span class="tishi">哈哈3</span><span>iOS</span></li> <li class="fd"><span class="tishi">哈哈4</span><span>jquery</span></li> <li class="fd"><span class="tishi">哈哈5</span><span>Javascript</span></li> <li class="fd"><span class="tishi">哈哈5</span><span>Javascript</span></li> <li class="fd"><span class="tishi">哈哈5</span><span>Javascript</span></li> </ul> </div> </div> <div class="rightbd"></div> </div> <script type="text/javascript" src="http://upcdn.b0.upaiyun.com/libs/jquery/jquery-1.9.1.min.js"></script> <script type="text/javascript"> $(function() { var inul=$(".leftul"); var inli=inul.children(); var insp; inli.hover(function(e){ $(this).find('.tishi').toggle(); }); }); </script> </body> </html>
试试其它关键字
侧栏
同语言下
.
前端PC-移动端CSS公共样式+HTML
.
手机端页面通用样式
.
H5页面通用头部设置
.
elect默认样式美化代码兼容移动端和pc端
.
按钮效果 css
.
唤醒app
.
放大效果
.
html5+css3实现上拉和下拉刷新
.
html上传图片后,在页面显示上传的图片
.
html5实现点击弹出图片
可能有用的
.
C#实现的html内容截取
.
List 切割成几份 工具类
.
SQL查询 多列合并成一行用逗号隔开
.
一行一行读取txt的内容
.
C#动态修改文件夹名称(FSO实现,不移动文件)
.
c# 移动文件或文件夹
.
c#图片添加水印
.
Java PDF转换成图片并输出给前台展示
.
网站后台修改图片尺寸代码
.
处理大图片在缩略图时的展示
sjwc
贡献的其它代码
(
3
)
.
html侧栏对应表单的提示显示
.
Java 运行带参数的exe
.
页面的等比缩放
Copyright © 2004 - 2024 dezai.cn. All Rights Reserved
站长博客
粤ICP备13059550号-3