仿京东BOE官网 css代码
* {
margin: 0;
padding: 0;
border: 0;
list-style: none;
}
.box {
width: 1518px;
height: 1300px;
margin: 0 auto;
}
/* header */
#header {
width: 100%;
height: 90px;
position: relative;
overflow: hidden;
}
#hCenter {
width: 97%;
height: 90px;
margin: 0 auto;
overflow: hidden;
}
/* 头部的左边 */
.hleft {
width: 50%;
height: 90px;
position: absolute;
left: 5%;
overflow: hidden;
}
#logo {
float: left;
position: absolute;
left: 10px;
top: 10px;
}
.hUl {
width: 400px;
height: 100px;
float: left;
position: absolute;
top: 30px;
left: 240px;
}
.hUl li {
float: left;
margin-left: 25px;
font-size: 16px;
width: auto;
height: 500%;
}
.hUl a {
text-decoration: none;
color: black;
}
.hUl a:hover {
font-weight: bold;
border-bottom: 2px solid black;
padding-bottom: 35px;
}
/* 头部右边 */
#hright {
width: 40%;
height: 90px;
position: absolute;
right: 5%;
overflow: hidden;
}
/* 上部 */
.hrTop {
width: 100%;
height: 20px;
position: absolute;
top: 15px;
}
.hrTop li {
float: left;
margin-left: 45px;
}
.hrTop a {
text-decoration: none;
color: black;
}
.hrTop a:hover {
text-decoration: underline;
color: black;
}
/* 下部 */
.hrBottom {
width: 450px;
height: 20px;
position: absolute;
top: 50px;
right: 110px;
}
/* 搜索框 */
.hrBottom input {
height: 20px;
width: 200px;
border-radius: 2px;
border: 1px solid rgb(201, 199, 199);
}
/* 搜索按钮 */
.hrBottom button {
background: url(./images/search.jpg);
background-size: 100% 100%;
width: 30px;
height: 30px;
position: absolute;
right: 210px;
cursor: pointer;
}
.hrBottom a {
margin-left: 170px;
text-decoration: none;
color: black;
}
.hrBottom a:hover {
text-decoration: underline;
color: black;
}
/* column */
#column,
#column2 {
width: 1518px;
height: 250px;
background-color: rgb(204, 201, 201);
display: none;
position: absolute;
z-index: 100;
}
.cli {
float: left;
margin-left: 300PX;
}
.cululi {
font-size: 16pt;
font-weight: 800;
border-bottom: 3px solid rgb(138, 135, 135);
width: 150px;
cursor: pointer;
}
#cLi1 a,
#cLi2 a,
#cLi3 a {
text-decoration: none;
color: black;
}
#cLi1 a:hover,
#cLi2 a:hover,
#cLi2 a:hover {
font-weight: bold;
}
#cLi1 li,
#cLi2 li,
#cLi3 li {
margin-top: 30px;
}
.cululi2 {
border: none;
}
.column_in {
width: 100px;
height: 130px;
background-color: rgb(204, 201, 201);
z-index: 200;
position: absolute;
border-left: 1px solid black;
display: none;
margin-left: 5px;
}
#column_in1 {
left: 430px;
top: 155px;
}
#column_in2 {
left: 430px;
top: 180px;
}
#column_in3 {
right: 200px;
top: 155px;
}
#column_in4 {
right: 200px;
top: 175px;
}
.column_in_li {
font-weight: 500;
margin-top: 10px;
margin-left: 5px;
}
.column_in_li a {
text-decoration: none;
color: black;
}
.column_in_li a:hover {
font-weight: 600;
}
/* banner */
#banner {
height: 450px;
width: 100%;
overflow: hidden;
position: relative;
}
/* 图片 */
.item {
opacity: 0;
transition: all .5s;
}
.item.active {
z-index: 10;
opacity: 1;
}
#img {
width: 100%;
height: 100%;
}
#img li {
width: 100%;
height: 100%;
position: absolute;
}
/* 点 */
#dot {
padding-left: 0px;
position: absolute;
z-index: 1000;
left: 50%;
transform: translateX(-50%);
top: 95%;
}
.point {
width: 8px;
height: 8px;
background: rgba(0, 0, 0, 0.4);
border-radius: 100%;
float: left;
margin-right: 13px;
border: 1px solid rgba(0, 0, 0, 0.6);
cursor: pointer;
}
.point.active {
background: white;
}
/* service */
#service {
width: 100%;
height: 350px;
overflow: hidden;
}
/* service标题 */
.sTitle,
.cTitle,
.nTitle {
width: 940px;
height: 30px;
margin: 20px auto;
}
.sTitle h3,
.cTitle h3,
.nTitle h3 {
line-height: 27px;
text-align: center;
font-size: 28px;
font-weight: 500;
font-family: "Microsoft YaHei";
cursor: auto;
}
/* service内容 */
.sContent {
width: 100%;
height: 400px;
}
.sc,
.nc {
width: 350px;
height: 270px;
float: left;
margin: 0px 10px;
}
.sc p {
text-align: center;
font-size: 20px;
}
.sc a {
color: black;
text-decoration: none;
}
#scLeft {
margin-left: 220px;
}
/* content */
#content {
box-shadow: 0 -2px 10px #E6E6E6;
width: 100%;
height: 400px;
overflow: hidden;
margin-top: 60px;
}
.cTitle a {
text-decoration: none;
color: black;
}
.cTitle a:hover {
text-decoration: underline;
}
#content .cContent {
width: 970px;
height: 340px;
margin: 0 auto;
}
.nc {
width: 400px;
height: 400px;
background: #f1f1f1;
}
.nc p {
margin: 0 0 10px;
font-size: 15px;
word-break: break-all
}
/* new */
#news {
width: 100%;
height: 500px;
}
#ncLeft {
margin-left: 140px;
}
#news a {
text-decoration: none;
color: rgb(46, 46, 231);
}
#news a:hover {
color: rgb(7, 5, 107);
}
/* winxin */
.w {
width: 80px;
height: 80px;
float: left;
display: none;
position: absolute;
margin-left: 20px;
z-index: 100;
}
#wixin1 {
left: 470px;
top: 1800px
}
#wibo1 {
left: 550px;
top: 1800px
}
#in1 {
left: 630px;
top: 1800px
}
#winxin {
background: #F1F1F1;
width: 100%;
height: 66px;
top: 79%;
}
.winxin_in {
width: 940px;
height: auto;
margin: 0px auto;
overflow: hidden;
}
.winxin_in p {
font-size: 14px;
line-height: 66px;
color: #333;
font-weight: 600;
margin-left: 20px;
display: block;
float: left;
position: absolute;
left: 120px;
margin-left: 200px;
}
.winxin_in img {
margin: 20px 20px;
display: inline;
}
#footer {
width: 100%;
height: 300px;
padding-bottom: 20px;
background: #b4b2b2;
}
.fContent {
padding-bottom: 20px;
width: 83%;
height: 300px;
margin: 0 auto;
}
.row {
width: 100%;
height: 230px;
;
border-bottom: 1px solid white;
overflow: hidden;
}
.li1 {
float: left;
margin-right: 75px;
}
.ul2 li {
margin-top: 30px;
}
.ul1 a {
text-decoration: none;
color: black;
font-size: 15px;
}
.rLeft {
width: 50%;
height: 100%;
float: left;
}
.rRight {
width: 50%;
height: 100%;
float: left;
}
#rrul {
margin: 20px 30px;
}
#a {
margin-left: 200px;
}
.rrli {
float: left;
margin-left: 80px;
margin-top: 50px;
}
.botom {
width: 100%;
height: 100%;
}
.bottom li {
float: left;
margin-top: 15px;
}
.b {
margin: 10px 55px;
}
.bottom a {
text-decoration: none;
color: black;
}
.bottom a:hover {
text-decoration: underline;
color: black;
}
.aaa {
width: 55px;
height: 200px;
z-index: 50;
position: fixed;
right: 0px;
bottom: 50px;
}
.aa {
width: 100%;
height: 50px;
margin-top: 10px;
cursor: pointer;
opacity: 0.4;
}
.a_1 {
background: url("./images/go-top-icon.png");
}
.a_2 {
background: url("./images/icon.png");
background-position-y: -130px;
}
.a_3 {
background: url("./images/icon.png");
background-position-y: -250px;
}
.bb {
position: absolute;
}
仿京东BOE官网 css代码的更多相关文章
- 仿京东BOE官网 html代码
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8&quo ...
- 仿京东BOE官网 jQuery代码
$(function() { $("#chanping").mouseenter(function() { $("#column").slideDown(500 ...
- 仿京东BOE官网 JavaScript代码
let items = document.getElementsByClassName('item'); let points = document.getElementsByClassName('p ...
- 仿京东BOE官网图片链接
- 基于jQuery仿迅雷影音官网幻灯片特效
分享一款基于jQuery仿迅雷影音官网幻灯片特效迅.雷影音官网jQuery幻灯片特效是一款带左右箭头,索引按钮切换的jQuery幻灯片代码.效果图如下: 在线预览 源码下载 实现的代码. html ...
- android 官网处理图片 代码
/** * 获取压缩后的图片 (官网大图片加载对应代码) * * @param res * @param resId * @param reqWidth * 所需图片压缩尺寸最小宽度 * @param ...
- 仿智能社官网:原生JS实现简单又酷炫的3D立方体时钟
先放一下我做的效果:https://linrunzheng.github.io/3Dclock/3Dclock/new.html 至于3D立方体怎么做这里就不在阐述了,可以看一下我之前的博客. 这里默 ...
- Bootstrap--模仿官网写一个页面
本文参考Bootstrap官方文档写了简单页面来熟悉Bootstrap的栅格系统.常用CSS样.Javascript插件和部分组件. 以下html代码可以直接复制本地运行: BootstrapPage ...
- div css仿京东订单流程图样式代码
效果展示 http://hovertree.com/texiao/css/25/ 本效果适合PC,也适合移动端 手机扫描二维码查看效果: 效果图: 代码如下: <!DOCTYPE html> ...
随机推荐
- time strptime()方法 时间操作
Python time strptime()方法 时间操作 描述 Python time strptime() 函数根据指定的格式把一个时间字符串解析为时间元组. 语法 strptime()方法语 ...
- lua中 table.getn(t) 、#t、 table.maxn(t) 这三个什么区别?
lua中 table.getn(t) .#t. table.maxn(t) 这三个什么区别? RTlocal t = {1,888,x= 999,b=2,5,nil,6,7,[10]=1,8,{z = ...
- yum下载软件包
方法一: downloadonly插件有一个yum的插件叫做downloadonly,就是只下载不安装的意思.1. 安装插件yum install yum-download2. 下载yum updat ...
- matplotlib基础汇总_01
灰度化处理就是将一幅色彩图像转化为灰度图像的过程.彩色图像分为R,G,B三个分量,分别显示出红绿蓝等各种颜色,灰度化就是使彩色的R,G,B分量相等的过程.灰度值大的像素点比较亮(像素值最大为255,为 ...
- PHP octdec() 函数
实例 把八进制转换为十进制: <?php高佣联盟 www.cgewang.comecho octdec("36") . "<br>";echo ...
- PHP stripcslashes() 函数
实例 删除 "World!" 前面的反斜杠: <?php高佣联盟 www.cgewang.comecho stripslashes("Hello World!&qu ...
- 珍藏多年的学习资料300G+,赶紧免费领取,从此离大神更进一步
将时间线拉到2014 2014年的寒冬,每天早晨六点钟,都会一个弱小的身影,从学校寝室出发,走在去实习公司的路上.经过食堂边的包子铺,他会顺手买两个包子,一杯豆浆,老板也会像往常一样热情的吆喝 ...
- 剑指 Offer 58 - II. 左旋转字符串
本题 题目链接 题目描述 我的题解 方法一:使用库函数 s.substring() 代码如下 public String reverseLeftWords(String s, int n) { ret ...
- SeaweedFS在.net core下的实践方案(续一)
前言 我们之前已经完成了SeaweedFS在.net core下的使用了,但是说实话,还是不够,于是,我的目光盯住了IApplicationBuilder的扩展方法UseStaticFiles 这个可 ...
- 【BZOJ4318】OSU! 题解(期望)
题目链接 题目大意:给定$n$个操作的成功率$p[i]$.连续成功操作$m$次可以贡献$m^3$的分数.问期望分数. 对于$(x+1)^3$ $=x^3+3x^2+3x+1$ 每多连续成功一次,对答案 ...