当前位置:网站首页>Simple setting method of search box
Simple setting method of search box
2022-07-25 22:35:00 【Mo Nian】
action Property specifies that when a form is submitted , Where to send form data . When the user clicks the confirm button , The contents of the form are transferred to another file . The action attribute of the form defines the file name of the destination file . The file defined by the action attribute usually processes the received input data .
<!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>
</head>
<style>
.nav{
width: 254px;
height: 50px;
/* border: 1px solid black; */
float: right;
}
.search>input{
width: 200px;
height: 45px;
/* border: none; */
float: left;
}
.search>button{
width: 45px;
height: 50px;
float: left;
border: 1px solid #767676;
/* border-left: none; */
}
button:hover{
background-color: red;
}
.search>input:focus,.search>input:focus+button{
outline: 1px solid #ed732f;
}
</style>
<body>
<div class="nav">
<form action="#" class="search">
<input type="text">
<button>
</button>
</form>
</div>
</body>
</html>


边栏推荐
- SMART S7-200 PLC通道自由映射功能块(DO_Map)
- Arcgis10.2 configuring postgresql9.2 standard tutorial
- Interpretation of the source code of all logging systems in XXL job (line by line source code interpretation)
- [training day13] backpack [dynamic planning] [greed]
- Compiler introduction
- Using simple scripts to process data in 3dslicer
- Compile and decompile
- Domain oriented model programming
- XSS collect common code
- 【集训DAY15】油漆道路【最小生成树】
猜你喜欢
![[training Day12] tree! Tree! Tree! [greed] [minimum spanning tree]](/img/46/1c7f6abc74e11c4c2e09655aade223.png)
[training Day12] tree! Tree! Tree! [greed] [minimum spanning tree]

Why should we launch getaverse?

3 lexical analysis
![[C syntax] void*](/img/34/b29b7bbf8eae9f1730352cac1301a4.png)
[C syntax] void*

Using simple scripts to process data in 3dslicer

PySpark数据分析基础:pyspark.sql.SparkSession类方法详解及操作+代码展示

The price of dividing gold bars

Wechat official account application development (I)

Naming rules of software test pytest pytest the pre and post confitest of use cases Py customized allure report @pytest.mark.parameter() decorator as data-driven

(1) DDL, DML, DQL, DCL and common data types
随机推荐
Today, let's talk about the if branch statement of the selection structure
C语言逆序打印字符串的两种方法
完啦,上班三个月,变秃了
【集训DAY15】好名字【hash】
Perform Jieba word segmentation on the required content and output EXCEL documents according to word frequency
XSS tool beef XSS installation and use
3 lexical analysis
(1) Integrating two mapping frameworks of Dao
Xiaobai programmer's sixth day
淦,为什么 '𠮷𠮷𠮷' .length !== 3 ??
【PMP学习笔记】第1章 PMP体系引论
Basic principle of torque motor control
About vscode usage+ Solutions to the problem of tab failure
谷歌分析UA怎么转最新版GA4最方便
[training day15] good name [hash]
ECMA 262 12 Lexical Grammer
IPv4地址已经完全耗尽,互联网还能正常运转,NAT是最大功臣!
To light up all the positions in the string that need to be lit, at least a few lights are needed
Explore the use of self increasing and self decreasing operators
Can generic types be used in array