mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2024-04-21 12:32:22 +00:00
feat: 添加搜索框
This commit is contained in:
+20
-2
@@ -105,10 +105,28 @@ body {
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
||||
input[type=search] {
|
||||
display: block;
|
||||
form.searchBox {
|
||||
width: 180px;
|
||||
border: 1px solid #4682BE;
|
||||
height:20px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
input[type=search] {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 160px;
|
||||
height: 18px;
|
||||
text-align: left;
|
||||
border: none;
|
||||
}
|
||||
|
||||
input.searchButton {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 160px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
#content {
|
||||
|
||||
Reference in New Issue
Block a user