仿京东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> ...
随机推荐
- 给自己挖坑——DateWay
参考文章 官方手册 官方博客 填坑 目录 简介 使用 1. 引入相关依赖 2. 配置 Dataway,并初始化数据表 3. 配置数据源 4. 把数据源设置到 Hasor 容器中 5. 在SprintB ...
- JS控制语句及小练习
一.控制语句 判断: ①if() {} ; if(){}else{} ; if(){}else if{};…… ② switch(){ case "": break; } 循环: ...
- [Abp vNext 源码分析] - 23. 二进制大对象系统(BLOB)
一.简介 ABP vNext 在 v 2.9.x 版本当中添加了 BLOB 系统,主要用于存储大型二进制文件.ABP 抽象了一套通用的 BLOB 体系,开发人员在存储或读取二进制文件时,可以忽略具体实 ...
- CF R630 div2 1332 E Height All the Same
LINK:Height All the Same 比赛的时候 被这道题给打自闭了 还有1个多小时的时候开始想 想了30min 无果 放弃治疗. 心态炸了 F不想看了 应该要把题目全看一遍的 下次不能这 ...
- TestFlight无法访问怎么办?TF如何链接AppStoreConnect解决教程
最近苹果商店半天下架近3万款应用的新闻闹的沸沸扬扬,很多被下架应用的运营商转将APP上架了TestFlight内测商店(TF签名上架),但是从7月31日起很多用户就开始反映TestFlight内测应用 ...
- ios textView跟随键盘的移动
实现效果: textview 能够跟随键盘的移动而移动 效果图如下: 下边贴上主要的代码: 1.创建textview @interface ViewController ()<UITextVie ...
- 密码学系列——常见的加密方式(c#代码实操)
前言 说起加密方式,其实密码学的角度ASCII编码其实本身就是一种加密解密. 由于其公开,现在用于数字与字符的转换. 查看ASCII表可以去官网查查. 转换代码如下: static void Main ...
- 怎么用 Solon 开发基于 undertow jsp tld 的项目?
Solon 开发 jsp 还是简单的,可以有 jetty 启动器 或者 undertow 启动器.此文用 undertow + jsp + tld 这个套路搞一把: 一. 开始Meven配置走起 用s ...
- P1616疯狂的采药 完全背包
题目背景 此题为纪念 LiYuxiang 而生. 题目描述 LiYuxiang 是个天资聪颖的孩子,他的梦想是成为世界上最伟大的医师.为此,他想拜附近最有威望的医师为师.医师为了判断他的资质,给他出了 ...
- C#LeetCode刷题-广度优先搜索
广度优先搜索篇 # 题名 刷题 通过率 难度 101 对称二叉树 42.1% 简单 102 二叉树的层次遍历 49.7% 中等 103 二叉树的锯齿形层次遍历 43.0% 中等 107 二 ...