仿京东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> ...
随机推荐
- (int) 与 Convert.ToInt32()
((xEnd - xStart) / newSize) + 1 = 172.99999999 int Width = (int)((xEnd - xStart) / newSize) + 1; = ...
- 从element-ui按需引入去探索
element-ui的按需引入的配置:文档地址 npm install babel-plugin-component -D { "presets": [["es2015& ...
- 00_02_使用Parallels Desktop创建Windos7虚拟机
准备工作 如果要看图片的准备过程请参考该链接 需要注意的是给CPU配置为一个核,内存分配1024M 硬盘空间划分为60G 操作系统安装设置 注:windows系统设置一般都是"下一步&quo ...
- 记node,elementui,formidable上传图片
卡了很久甚至心态爆炸,搞了半天才能成功上传图片,结果图片上传的位置也有问题.头大 https://www.jianshu.com/p/3a61318c24d1 先是参考这个来弄好大致的部署. 然后中途 ...
- pandas_使用属性接口实现高级功能
C:\Users\lenovo\Desktop\总结\Python\超市营业额.xlsx 这个文档自己创建就可以,以下几篇文章仅作为参考 import pandas as pd import copy ...
- PHP gregoriantojd() 函数
------------恢复内容开始------------ 实例 把格利高里历法的日期转换为儒略日计数,然后再转换回格利高里历法的日期: <?php$jd=gregoriantojd(6,20 ...
- PHP fprintf() 函数
实例 把一些文本写入到名为 "test.txt" 的文本文件: <?php高佣联盟 www.cgewang.com$number = 9;$str = "Beiji ...
- 3行!仅3行代码就能抓取B站(弹幕、评论、用户)数据
今天介绍一个获取B站数据的Python扩展库-bilibili_api 可以获取的数据包括: video-视频模块 user-用户模块 dynamic-动态模块 这次用“Running Man”十周年 ...
- 双下划线开头的attr方法
# class Foo: # x=1 # def __init__(self,y): # self.y=y # # def __getattr__(self, item): # print('执行__ ...
- XCTF-WEB-新手练习区(5-8)笔记
5:disabled_button X老师今天上课讲了前端知识,然后给了大家一个不能按的按钮,小宁惊奇地发现这个按钮按不下去,到底怎么才能按下去呢? 删除disable="" 字段 ...