抽屉header
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Title</title>
<style>
*{
margin:0;
padding: 0;
font-size: 12px;
}
a{
text-decoration: none;
}
a.i{
width: 30px;
height: 29px;
/*background-color: white;*/
display: inline-block;
float: left;
/*margin-top: 2px;*/
}
.ico{
width: 11px;
height: 12px; display: inline-block;
margin-left: 11px;
margin-top: 9px;
background-image: url("http://dig.chouti.com/images/icon.png");
background-repeat: no-repeat;
background-position: 0 -197px;
}
.header{
width: 100%;
height: 44px;
background-color: #2459a2;
position: fixed;
}
.header-content{
width: 1026px;
margin: 0 auto;
/*background-color: grey;*/
height: 44px;;
line-height: 44px;
}
.logo{
width: 121px;
height: 23px;
background: url(http://dig.chouti.com/images/logo.png) no-repeat 0 0;
float: left;
margin-top: 11px;
}
.menu{
float: left;
margin-left: 20px;
}
.menu a{
color: #c0cddf;
padding: 0 13px 0 16px;
display: inline-block;
margin-left: -3px;
}
.menu .menu_0{
background: #204982;
color: white;
}
.menu .menu_1:hover{
color: white;
background-color:#3266ad ;
}
.search{
float: right;
margin-top: 6px;
display: block;
background-color: white;
} .search_text{
color: #333;
padding: 2px 2px 2px 5px;
height: 25px;
width: 91px;
float: left;
}
.content_right a:hover{
background:#3266ad ;
}
.content_right a{
color: white;
float: right;
display: inline-block;
/*margin-left: 20px;*/
padding:0 20px;
}
.
</style>
</head>
<body> <div class="header">
<div class="header-content">
<a href="" class="logo"></a>
<div class="menu">
<a href="" class="menu_0">全部</a>
<a href="" class="menu_1">42区</a>
<a href="" class="menu_1">段子</a>
<a href="" class="menu_1">图片</a>
<a href="" class="menu_1">挨踢1024</a>
<a href="" class="menu_1">你问我答</a>
</div>
<div class="search">
<form action="" method="post" name="search_form">
<input type="text" class="search_text" name="search_text" >
<a href="" class="i">
<span class="ico"></span>
</a>
</form>
</div>
<div class="content_right">
<a href="" class="register">登录</a>
<a href="" class="login">注册</a>
</div>
</div>
</div> </body>
</html>
抽屉header的更多相关文章
- iOS开发之抽屉效果实现
说道抽屉效果在iOS中比较有名的第三方类库就是PPRevealSideViewController.一说到第三方类库就自然而然的想到我们的CocoaPods,今天的博客中用CocoaPods引入PPR ...
- tornado web高级开发项目之抽屉官网的页面登陆验证、form验证、点赞、评论、文章分页处理、发送邮箱验证码、登陆验证码、注册、发布文章、上传图片
本博文将一步步带领你实现抽屉官网的各种功能:包括登陆.注册.发送邮箱验证码.登陆验证码.页面登陆验证.发布文章.上传图片.form验证.点赞.评论.文章分页处理以及基于tornado的后端和ajax的 ...
- Android DrawerLayout 抽屉
Android DrawerLayout 抽屉 DrawerLayout 在supportV4 Lib在.类似的开源slidemenu如,DrawerLayout父类ViewGroup,自定义组件基本 ...
- CSS快速入门-前端布局1(抽屉)
一.效果图 前面对CSS基础知识有了一定的了解,是时候开始实战了!以下我对抽屉(https://dig.chouti.com/)主页进行模拟布局. 官方网站效果图: 模拟网站图: 二.实现步骤 1.整 ...
- 使用ViewDragHelper打造属于自己的DragLayout(抽屉开关 )
使用ViewDragHelper打造属于自己的DragLayout(抽屉开关 ) DrawLayout这个自己定义的空间非经常见.qq,网易新闻.知乎等等,都有这样的效果,那这样的效果是如何实现的呢? ...
- day19 Models补充+缓存+信号+序列化+分析抽屉页面
参考链接: http://www.cnblogs.com/wupeiqi/articles/5237704.html http://www.cnblogs.com/wupeiqi/articles/5 ...
- 本博文将一步步带领你实现抽屉官网的各种功能:包括登陆、注册、发送邮箱验证码、登陆验证码、页面登陆验证、发布文章、上传图片、form验证、点赞、评论、文章分页处理以及基于tronado的后端和ajax的前端数据处理。
本博文将一步步带领你实现抽屉官网的各种功能:包括登陆.注册.发送邮箱验证码.登陆验证码.页面登陆验证.发布文章.上传图片.form验证.点赞.评论.文章分页处理以及基于tronado的后端和ajax的 ...
- Flutter学习笔记(18)--Drawer抽屉组件
如需转载,请注明出处:Flutter学习笔记(18)--Drawer抽屉组件 Drawer(抽屉组件)可以实现类似抽屉拉出和推入的效果,可以从侧边栏拉出导航面板.通常Drawer是和ListView组 ...
- RestTemplate发送请求并携带header信息
1.使用restTemplate的postForObject方法 注:目前没有发现发送携带header信息的getForObject方法. HttpHeaders headers = new Http ...
随机推荐
- [概念理解] MVC模式和C++的实现
[转]学习可以是一件很快乐的事,特别是当你发现以前所学的点点滴滴慢慢地能够串起来或者变成了一个环,这种感觉真好.这篇文章就这么来的. 从MVC架构开始说起吧.这两天系统了解了一下MVC架构的内容,主要 ...
- YARN/MRv2 中基本术语介绍
YARN/MRv2是下一代MapReduce框架(见Hadoop-0.23.0),该框架完全不同于当前的MapReduce框架,它在扩展性,容错性和通用性等方面更出色,据统计,Yarn有超过15000 ...
- 编写mipsel mt7620 Led驱动(一)
1.看原理图中知芯片上66引脚控制一个LED 2.在Datasheet中找出GPIO pin 3.在ProgrammingGuid System Contrl中找到GPIO控制寄存器地址: 4.控制 ...
- pooler [转]
pooler和poolboy都是用erlang写的管理进程池的库. pooler/poolboygithub : seth/pooler · GitHubgithub : devinus/poolbo ...
- TP 自动验证规则
#自动验证 protected $_validate=array( #参数最后代表1 表示必须验证,0表示当这个字段存在的时候验证 array('username','require','账号不能为空 ...
- ios -- 延迟3秒触发performSelector
[self performSelector:@selector(changeText:) withObject:@"Happy aha" afterDelay:3];
- 用Darwin和live555实现的直播框架
我们在开发视频直播或者监控类项目的时候,如场馆监控.学校监控.车载监控等等,往往首先希望的是形成一个项目的雏形,然后再在这个框架的基础上进行不断的完善和扩展工作,那么我们今天要给大家介绍的就是,如何形 ...
- hdu5325 树的思维题
pid=5325">http://acm.hdu.edu.cn/showproblem.php? pid=5325 Problem Description Bobo has a tre ...
- 3款Linux网络监视工具
1 iftop: 如果你想看到现在你的带宽到底是哪些应用在使用,并且各个应用占据了多少带宽的时候,可以用iftop显示出来.使用的参数如下: -h display t ...
- 协程与IO多路复用
IO多路复用 I/O多路复用 : 通过一种机制,可以监视多个描述符,一旦某个描述符就绪(一般是读就绪或者写就绪),能够通知程序进行相应的读写操作. Python Python中有一个select模块, ...