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,10 @@
body,p,h1,h2,h3,h4,h5,h6,input{
margin: 0;
padding: 0;
border: none;
}
input {
/* 去除选中input时候产生的外边框 */
outline: none;
}

View File

@@ -0,0 +1,24 @@
.search {
width: 240px;
height: 38px;
position: relative;
}
.search input {
width: 100%;
height: 100%;
background: #eee;
/* border-radius: 40px;加圆角边框 */
padding-left: 20px;
box-sizing: border-box;
padding-right: 33px;
}
.search img {
width: 17px;
height: 17px;
position: absolute;
right: 9px;
top: 50%;
margin-top: -8.5px;
}

View File

@@ -0,0 +1,10 @@
.search {
width: 240px;
height: 38px;
border-radius: 40px;
padding-left: 20px;
box-sizing: border-box;
padding-right: 33px;
background: #eee url("../img/search.png") no-repeat 214px center;
background-size: 17px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -0,0 +1,19 @@
<!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="./css/clear.css">
<link rel="stylesheet" href="./css/index_1.css">
</head>
<body>
<div class="search">
<input type="text" placeholder="搜索">
<img src="./img/search.png" alt="">
</div>
</body>
</html>

View File

@@ -0,0 +1,17 @@
<!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="./css/clear.css">
<link rel="stylesheet" href="./css/index_2.css">
</head>
<body>
<input class="search" type="text" placeholder="搜索">
</body>
</html>