粘滞按钮不发粘

时间:2019-04-30 14:05:45

标签: css button sticky

我必须在页面底部粘贴一个订购按钮。直到滚动浏览其html位置。但不会变得粘滞。我该如何进行这项工作?

<div class="order-totals-form-buttons">
   <div class="delete-order-buttons">
      <a class="ceep-ordering-button" href="">Verder winkelen</a>
      <a class="delete-all-orders-button Size13px" href="">Alle artikelen verwijderen</a>
   </div>
<div class="order-button">
   <a class="quotation-request" href="">Offerte aanvragen</a>
      <input class="place-order-button bold" type="submit" value="I have to be sticky">
 </div>
</div>
.place-order-button{
      position: -webkit-sticky;
      position: sticky;
      bottom: 0;
}

0 个答案:

没有答案