1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Use box-shadow mixin

This commit is contained in:
Pierre-Denis Vanduynslager 2016-10-20 16:35:45 -04:00
parent 7a21517a48
commit 6eb2e54a91

View file

@ -17,10 +17,8 @@
.form-control {
border-color: $color;
@if $enable-shadows {
&:focus {
box-shadow: $input-box-shadow, 0 0 6px lighten($color, 20%);
}
&:focus {
@include box-shadow($input-box-shadow, 0 0 6px lighten($color, 20%));
}
}