【发布时间】:2019-11-23 08:10:46
【问题描述】:
我是引导程序和角度的新手:
我想使用引导程序制作三个平行的方形按钮。页面应该是这样的::
.................................................. ..................................................... ..................................................... ......
My title(in center)
Square button-1 square button-2 Square button-3
我的代码如下::
<div class="col-md-12 pt-md-5 text-center">My Title<div>
<div class="button-wrapper">
<div>
<button>button-1</button>
</div>
<div>
<button>button-2</button>
</div>
<div>
<button>button-3</button>
</div>
</div>
我应该怎么做才能使用引导程序使按钮变成正方形并根据需要更改文本的颜色和高度?
.button-wrapper{
display: flex;
justify-content: space-around;
margin-top: 20px;
}
我不想使用 css,而是想使用引导程序来获得方形按钮,并想在方形按钮而不是按钮 1、按钮 2 和按钮 3 中写长文本
【问题讨论】:
标签: angular bootstrap-4 angular7 angular8