0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-04 16:24:22 +01:00
Bootstrap/site/assets/scss/_anchor.scss

22 lines
363 B
SCSS
Raw Normal View History

.anchor-link {
padding: 0 .175rem;
2017-10-03 05:34:56 +02:00
font-weight: 400;
color: rgba($link-color, .5);
text-decoration: none;
opacity: 0;
@include transition(color .15s ease-in-out, opacity .15s ease-in-out);
&::after {
content: "#";
}
2015-06-19 08:56:43 +02:00
&:focus,
&:hover,
:hover > &,
:target > & {
2017-05-29 21:00:47 +02:00
color: $link-color;
text-decoration: none;
opacity: 1;
2017-05-29 21:00:47 +02:00
}
2015-06-19 08:56:43 +02:00
}