bootstrap4.4 Stretched link的使用
Stretched link功能介绍:扩大可点击区域。
原理
.stretched-link::after {
position: absolute;
top: 0;
right:0;
bottom: 0;
left: 0;
z-index: 1;
pointer-events: auto;
content: "";
background-color: rgba(0, 0, 0, 0);
}
根据具体情况可利用定位的上下左右进行二次扩大可点击区域。
乍见之欢,久处不厌