如图,我想实现如图所示的效果
html代码如下
<div class="introduce">
<textarea class="input"></textarea>
<button class="save">保存</button>
</div>
css代码如下(使用的stylus)
.introduce
position: absolute
top: 0
bottom: 0
left: 0
right: 0
.input
height: 250px
width: 100%
box-sizing: border-box
padding: 10px
font-size: 15px
color: #333
resize: none
.save
position: fixed
bottom:0
left:0
height: 48px
line-height: 48px
但是在手机端,点击输入时,底部的保存按钮会“弹上来”,我想问怎样让其位于页面底端
不要用fixed