[英]how to change button cursor to pointer if button not disabled in bootstrap 4?
[英]button:not(:disabled) { cursor:pointer; } what does it mean?
惠,
button:not(:disabled) {
cursor:pointer;
}
這是什么意思? 焦點是否可能? 謝謝
這意味着如果您的 cursor 位於任何未禁用的<button>
標簽上,它將顯示為指針。
button
是應用樣式的 HTML 元素。 :not()
表示該元素不能具有參數中跟隨的屬性。 cursor: pointer
將 cursor 變為指針。
如果您的button
未禁用,它將具有cursor:pointer;
屬性
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.