一些同學問醬茄小編,醬茄WordPress版微信小程序頁面的懸浮按鈕怎麼實現的,今天就把代碼分享給各位。
.wxml:
.wxss:
add-wrap { position:fixed; bottom:20; display:flex; width:50%; justify-content:center; } .add-wrap image { width:50px; height:50px; }
參考效果:
2021-01-09 01:01:15 佚名
一些同學問醬茄小編,醬茄WordPress版微信小程序頁面的懸浮按鈕怎麼實現的,今天就把代碼分享給各位。
.wxml:
.wxss:
add-wrap { position:fixed; bottom:20; display:flex; width:50%; justify-content:center; } .add-wrap image { width:50px; height:50px; }
參考效果: