first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
/* 清除浏览器默认样式的css代码 */
body,ul,input,li,a{
margin: 0;
padding: 0;
border: none;
outline: none;
list-style: none;
text-decoration: none;
}

View File

@@ -0,0 +1,31 @@
body {
background: #8d8d8d;
}
.main {
width: 716px;
height: 42px;
}
.main .search_text {
width: 600px;
height: 100%;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
border: 1px solid #39bc30;
box-sizing: border-box;
background: #fff url("./search.png") 15px center no-repeat;
background-size: 16px;
padding-left: 40px;
}
.main .search_button{
width: 116px;
height: 100%;
background: #39bc30;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
text-align: center;
line-height: 42px;
color: #fff;
font-weight: 700;
font-size: 16px;
}

View File

@@ -0,0 +1,21 @@
<!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.0">
<title>Document</title>
<link rel="stylesheet" href="./clear.css">
<link rel="stylesheet" href="./public.css">
<link rel="stylesheet" href="./index.css">
</head>
<body>
<div class="main hidden">
<input class="search_text left" placeholder="请输入职位名称或公司" type="text">
<div class="search_button left">搜索</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,61 @@
body {
background: #8d8d8d;
}
.main {
width: 716px;
height: 42px;
}
.search_wrap {
position: relative;
width: 600px;
height: 100%;
}
.search_wrap input {
width: 100%;
height: 100%;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
border: 1px solid #39bc30;
box-sizing: border-box;
padding-left: 40px;
}
.search_wrap img {
position: absolute;
width: 16px;
height: 16px;
top: 50%;
transform: translateY(-50%);
left: 15px;
}
/*
.main .search_text {
width: 600px;
height: 100%;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
border: 1px solid #39bc30;
box-sizing: border-box;
background: #fff url("./search.png") 15px center no-repeat;
background-size: 16px;
padding-left: 40px;
} */
.main .search_button{
width: 116px;
height: 100%;
background: #39bc30;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
text-align: center;
line-height: 42px;
color: #fff;
font-weight: 700;
font-size: 16px;
}

View File

@@ -0,0 +1,25 @@
<!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.0">
<title>Document</title>
<link rel="stylesheet" href="./clear.css">
<link rel="stylesheet" href="./public.css">
<link rel="stylesheet" href="./index_定位版本.css">
</head>
<body>
<div class="main hidden">
<div class="search_wrap left">
<img src="./search.png" alt="">
<input placeholder="请输入职位名称或公司" type="text"/>
</div>
<div class="search_button left">搜索</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,17 @@
/* 公共样式的css代码 */
.left {
float: left;
}
.right {
float: right;
}
.clear {
clear: both;
}
.hidden {
overflow: hidden;
}
.reset {
line-height: 1;
}

View File

@@ -0,0 +1,24 @@
.nav {
height: 38px;
background: #96b97d;
}
.nav .center {
width: 1260px;
height: 100%;
margin: 0 auto;
}
.nav .center li {
float: left;
line-height: 38px;
margin-right: 20px;
}
.nav .center li a {
color: #fff;
font-size: 14.4px;
}
.nav .center li a:hover {
color: #e3efd9;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -0,0 +1,42 @@
<!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.0">
<title>菜鸟教程头部导航</title>
<link rel="stylesheet" href="./clear.css">
<link rel="stylesheet" href="./public.css">
<link rel="stylesheet" href="./runoob.css">
</head>
<body>
<div class="nav">
<ul class="center">
<li>
<a href="">首页</a>
</li>
<li>
<a href="">菜鸟工具</a>
</li>
<li>
<a href="">菜鸟工具</a>
</li>
<li>
<a href="">菜鸟工具</a>
</li>
<li>
<a href="">菜鸟工具</a>
</li>
<li>
<a href="">菜鸟工具</a>
</li>
<li>
<a href="">菜鸟工具</a>
</li>
</ul>
</div>
</body>
</html>

View File

@@ -0,0 +1,120 @@
.nav {
height: 58px;
}
.nav .center {
width: 1190px;
margin: 0 auto;
}
.logo img{
width: 138.7px;
height: 42px;
margin-top: 8px;
margin-right: 45px;
}
.menu li {
float: left;
}
.logo .city {
margin-right: 50px;
}
.logo .city i {
font-size: 17px;
vertical-align: bottom;
}
.logo .city .city_name {
font-size: 12px;
color: #333;
}
.logo .city a {
font-size: 12px;
margin-left: 10px;
color: #32be4a;
}
.logo .menu {}
.logo .menu .active {
position: relative;
}
.logo .menu .active a {
color: #32be4a;
font-weight: 700;
}
.logo .menu .active::after {
content: "";
position: absolute;
width: 23px;
height: 3px;
background:#32be4a;
bottom: 0;
left: 50%;
transform: translate(-50%);
}
.logo .menu li {
margin-right: 40px;
}
.logo .menu li a {
font-size: 15px;
color: #333;
font-weight: 400;
}
.logo .city, .logo .menu{
line-height: 58px;
}
.r_menu li {
float: left;
margin-left: 40px;
}
.r_menu li a {
color: #333;
line-height: 58px;
position: relative;
}
.r_menu li a span{
font-size: 15px;
}
.r_menu li a>i {
font-size: 20px;
vertical-align: middle;
}
.r_menu li a .icon-zhankai-copy {
font-size: 12px;
}
.r_menu li a:hover .drop_menu {
display: block;
}
.r_menu .drop_menu {
padding: 18px 25px;
background: #fff;
box-shadow: 0 0 10px 0 rgb(0 0 0 / 10%);
line-height: 21px;
border-radius: 10px;
position: absolute;
top: 23px;
left: 50%;
transform: translateX(-50%);
text-align: center;
display: none;
}
.r_menu .drop_menu img{
width: 100px;
height: 100px;
margin-top: 10px;
}
.r_menu .drop_menu .menu_title{
font-size: 16px;
font-weight: 700;
}
.r_menu .drop_menu .menu_desc{
font-size: 14px;
font-weight: 400;
}

View File

@@ -0,0 +1,65 @@
<!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.0">
<title>赶集网头部</title>
<link rel="stylesheet" href="http://at.alicdn.com/t/c/font_3887737_btiu6bwu8q.css">
<link rel="stylesheet" href="./clear.css">
<link rel="stylesheet" href="./public.css">
<link rel="stylesheet" href="./赶集网头部.css">
</head>
<body>
<div class="nav">
<div class="center">
<div class="left logo">
<img class="left" src="https://img.58cdn.com.cn/arthurupload/hrg-fe/zp-ganji/pc/pc-header-logo-2.png" alt="">
<div class="city left">
<i class="iconfont icon-wxbdingwei"></i>
<span class="city_name">合肥</span>
<a>[切换城市]</a>
</div>
<ul class="left menu">
<li class="active">
<a href="">首页</a>
</li>
<li>
<a href="">职位</a>
</li>
<li>
<a href="">公司</a>
</li>
</ul>
</div>
<ul class="right r_menu">
<li>
<a href="">
<i class="iconfont icon-shouji"></i>
<span>手机上赶集</span>
<i class="iconfont icon-zhankai-copy"></i>
<div class="drop_menu">
<div class="menu_title">扫码下载</div>
<div class="menu_desc">赶集直招APP</div>
<img src="https://img.58cdn.com.cn/arthurupload/hrg-fe/zp-ganji/pc/gj-qrcode-1.png" alt="">
</div>
</a>
</li>
<li>
<a href="">
<i class="iconfont icon-xiebao"></i>
<span>我要招人</span>
<i class="iconfont icon-zhankai-copy"></i>
<div class="drop_menu">
<div class="menu_title">扫码下载</div>
<div class="menu_desc">赶集直招APP</div>
<img src="https://img.58cdn.com.cn/arthurupload/hrg-fe/zp-ganji/pc/gj-qrcode-1.png" alt="">
</div>
</a>
</li>
</ul>
</div>
</div>
</body>
</html>