当前位置:网站首页>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>


边栏推荐
- Learning orientation today
- The third day of Xiaobai programmer
- 三菱FX PLC自由口RS指令实现MODBUS通讯
- [training day13] backpack [dynamic planning] [greed]
- Xiaobai programmer day 8
- 【数据库学习】Redis 解析器&&单线程&&模型
- xss-收集常用的代码
- 3 lexical analysis
- 【集训DAY13】Backpack【动态规划】【贪心】
- Perform Jieba word segmentation on the required content and output EXCEL documents according to word frequency
猜你喜欢

IPv4地址已经完全耗尽,互联网还能正常运转,NAT是最大功臣!

ML-Numpy

3 lexical analysis
![[training day15] simple calculation [tree array] [mathematics]](/img/20/a5604f666ab02f47929f80c5597f0a.png)
[training day15] simple calculation [tree array] [mathematics]

1000 okaleido tiger launched binance NFT, triggering a rush to buy

分享两个音乐播放地址

DOM event binding

Data governance under data platform
![[training Day12] x equation [high precision] [mathematics]](/img/4f/51d902e925f9ec60da46d161ed4d17.png)
[training Day12] x equation [high precision] [mathematics]

It's over. I went to work for three months and became bald
随机推荐
Gan, why '𠮷 𠮷'.Length== 3 ??
Xiaobai programmer the next day
[training Day11] Nescafe [greed]
【集训DAY12】Bee GO!【动态规划】【数学】
自媒体人必备的4个素材网站,再也不用担心找不到素材
[training day15] good name [hash]
[training day13] travel [violence] [dynamic planning]
PySpark数据分析基础:pyspark.sql.SparkSession类方法详解及操作+代码展示
[C syntax] void*
LabVIEW 开发 PCI-1680U双端口CAN卡
平台架构搭建
Compiler introduction
If jimureport building block report is integrated according to the framework
It's over. I went to work for three months and became bald
Call of addition, subtraction, multiplication and division of integer type only
Visitor mode
[training day13] backpack [dynamic planning] [greed]
[training Day12] tree! Tree! Tree! [greed] [minimum spanning tree]
(1) DDL, DML, DQL, DCL and common data types
自媒体人必备的4个资源工具,每一个都很实用