当前位置:网站首页>微信小程序之input调整
微信小程序之input调整
2022-06-23 13:13:00 【qq_45911550】
参考链接
1、wxml代码
<view class="getinput">
<view class="the_first">
<input name="suibian" class="password" auto-focus placeholder="请输入"/>
</view>
</view>
2、wxss代码
.getinput{
border:1px solid gray;
margin:100px;
text-align: center;
}
效果图:
理解:根据浏览器渲染的盒子模型,我们可以设置其属性
content相当于这里的view标签,我们可以通过设置一下属性来进行规范

边栏推荐
- Cifar announces the second stage pan Canadian AI strategy
- .Net怎么使用日志框架NLog
- Building Intel devcloud
- quartus調用&設計D觸發器——仿真&時序波驗證
- 栈和队列的基本使用
- 前AMD芯片架构师吐槽,取消 K12 处理器项目是因为 AMD 怂了!
- The redis keys command should be used with caution in the production environment. It is best to shield it
- Quartus call & design D trigger Simulation & timing wave verification
- Hanyuan high tech new generation green energy-saving Ethernet access industrial switch high efficiency energy-saving Gigabit Industrial Ethernet switch
- Go写文件的权限 WriteFile(filename, data, 0644)?
猜你喜欢

The way out after the development of Internet technology -- the birth of IVX

Basic data types of C language and their printouts

2022软科大学专业排名出炉!西电AI专业排名超清北,南大蝉联全国第一 !

如何打开/关闭chrome控制台调试时的时间戳?

『忘了再学』Shell流程控制 — 39、特殊流程控制语句

Building Intel devcloud

Quartus call & design D trigger Simulation & timing wave verification

White paper - Intel and Ashling, a well-known risc-v tool provider, strive to expand multi platform risc-v support

逆向调试入门-了解PE结构文件

爱思唯尔-Elsevier期刊的校稿流程记录(Proofs)(海王星Neptune)(遇到问题:latex去掉章节序号)
随机推荐
RestCloud ETL解决shell脚本参数化
CRMEB 二开短信功能教程
爱思唯尔-Elsevier期刊的校稿流程记录(Proofs)(海王星Neptune)(遇到问题:latex去掉章节序号)
vulnhub靶机Os-hackNos-1
First exposure! The only Alibaba cloud native security panorama behind the highest level in the whole domain
何小鹏:如果可以回到创业的时候 不会以自己的名字给产品命名
能把SAP系统玩成鸡肋的公司,太有才了!
In depth analysis of mobilenet and its variants
Scope of groovy
What a talented company that can turn SAP system into a chicken rib!
怎么手写vite插件
OpenVINOTM 2022.1中AUTO插件和自动批处理的最佳实践
How to use androd gradle module dependency replacement
Quartus II 13.1 detailed installation steps
Is it safe for flush to open an account online? What should we pay attention to
90%的人都不懂的泛型,泛型的缺陷和应用场景
OS的常见用法(图片示例)
20000 words + 30 pictures | MySQL log: what is the use of undo log, redo log and binlog?
Hanyuan high tech USB2.0 optical transceiver USB2.0 optical fiber extender USB2.0 optical fiber transmitter USB2.0 interface to optical fiber
面向 PyTorch* 的英特尔 扩展助力加速 PyTorch