html - 响应按钮角
问题描述
我正在开发一个 angular 8 的应用程序,我有一个带有不同按钮的表单。我想知道是否有任何方法可以使 Chrome 和 Firefox 手机显示的按钮响应。这是我现在拥有的:
我的代码:
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<div class="row justify-content-around">
<button (click)="register()" class="btn btn-outline-primary col-4"> Submiiiiiiiiit </button>
<button type="submit" class="btn btn-primary col-4"> Validate </button>
</div>
第一个按钮的显示是向下的,但第二个按钮是好的,我猜是文字造成了不同。
谢谢你。
解决方案
推荐阅读
- laravel - 使用同步更新关系时触发特征模型
- bash - 根据使用的 shell 有条件地向前移动
- ihttpmodule - 这里空的 dispose() 有什么用,我们可以删除 dispose() 吗?
- pywinauto - 在转换到某个屏幕后,我收到所有元素的元素未找到错误。请帮助找到解决方案。(pywinauto)
- swift - 键盘打开时如何避免应用缩放?
- c# - Unity-加载 - 解锁关卡并检查是否存在下一个关卡
- php - 如果第一次搜索没有返回结果,则在 SQL 中再次搜索另一列
- javascript - 如何修复在 Linux 服务器的 Node/npm/pm2 上找不到错误模块?
- docker - Alertmanager 容器无法发送 SMTP 电子邮件,因为网络挂钩拒绝连接
- driverkit - Apple bigsure os,无法在coolterm中打开设备端口