我需要的+
按钮移动到下面的代码的权利side.But不working.Can你告诉我为什么?
.scss
.plusButton {
position: absolute;
z-index: 11;
color: white;
float: right;
}
的.html
<button ion-button clear class="plusButton"> <ion-icon name="add-circle"></ion-icon></button>
这个什么:'.plusButton { 的位置是:绝对的; z-index:11; 颜色:白色; top:16px; right:16px; }'? – sebaferreras
是的,这是working.But你能告诉我你是怎么决定应该是正确的':16px'?这不是'ipad'(即更大的设备)的问题吗?@sebaferreras – Sampath
离子通常在内容中使用“16px”的填充(当您将'padding'属性添加到内容' ... ...“时,我总是在需要时使用相同的填充所以东西*外面*离子... –
sebaferreras