当前位置:网站首页>搜索框的简易设置方式
搜索框的简易设置方式
2022-07-19 05:21:00 【陌 年】
action属性规定当提交表单时,向何处发送表单数据。 当用户单击确认按钮时,表单的内容会被传送到另一个文件。表单的动作属性定义了目的文件的文件名。由动作属性定义的这个文件通常会对接收到的输入数据进行相关的处理。
<!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>
边栏推荐
- [record Resources & ideas] how to evaluate the clustering effect i.e. clustering performance evaluation/clustering validity assessment
- 如何将一台局域网内的无公网IP的电脑,变成公网可访问的服务器(ssh访问为例)
- 传输层协议
- The difference between abstract classes and interfaces
- 斐讯k1刷入Breed以及openwrt的教程
- 【转】解决内存/显存泄露的方法 pytorch
- 论文笔记:SCA-CNN: Spatial and Channel-wise Attention in Convolutional Networksfor Image Captioning
- C语言基础知识
- 优化器:torch.optim
- Pytorch:visdom介紹
猜你喜欢
invalid syntax
Practice of online problem feedback module (VII): installation and deployment of swagger2
【资源记录】VAE 学习笔记
Solution to unmount failure using umount command
Overview of key core technologies of intelligent operation and maintenance aiops worth seeing
DHCP service and configuration
Lunix boot and troubleshooting
Single arm routing and VRRP
论文笔记:Neural Baby Talk
gocore-v2框架-脚手架生成项目结构介绍
随机推荐
安装管理程序
Openstack hot migration error: exception during message handling invalidcpuinfo unacceptable CPU info CPU do
Dark horse programmer thread pool
Dark horse programmer unit test: getting started with JUnit framework
金仓数据库KingbaseES数据库管理员指南--13表的管理
iptables examples
使用 gst-launch 小记
Latex ieee paper首页标题下方插入跨分栏图片,并解决脚注问题
Nacos - 配置管理中心(阿里开源)
gocore-v2框架-gocore.yaml配置文件介绍
Insert cross column pictures under the title of the home page of latex IEEE paper, and solve the footnote problem
Pytorch:visdom介绍
CEPH deploy configure CEPH distributed cluster
狂神。SMBMS(超市订单管理系统)
Express框架
单臂路由和VRRP
pytorch中model.train(),model.eval() 和 torch.no_grad()的区别
Dark horse programmer multithreading implementation mode II
论文笔记:Look Back and Predict Forward in Image Captioning# Look Back and Predict Forward in Image Capti
Build LVM on disk array (RAID)