1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-09 23:26:40 +02:00

code comment

This commit is contained in:
Mark Otto
2016-12-04 21:39:54 -08:00
parent 8f06eebe44
commit 5c93cb7c81

View File

@@ -148,6 +148,7 @@
cursor: pointer; cursor: pointer;
background-color: rgba($carousel-indicator-active-bg, .5); background-color: rgba($carousel-indicator-active-bg, .5);
// Use pseudo classes to increase the hit area by 10px on top and bottom.
&::before { &::before {
position: absolute; position: absolute;
top: -10px; top: -10px;
@@ -157,7 +158,6 @@
height: 10px; height: 10px;
content: ""; content: "";
} }
&::after { &::after {
position: absolute; position: absolute;
bottom: -10px; bottom: -10px;