Last active
May 16, 2017 01:17
-
-
Save youthkee/1b8168c0717f02fbe9fd to your computer and use it in GitHub Desktop.
Bootstrap 4の主な変更点とファーストインプレッション ref: http://qiita.com/youthkee/items/e9e105e35526f908f48a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Toggles | |
// | |
// Used in conjunction with global variables to enable certain theme features. | |
@mixin border-radius($radius: $border-radius) { | |
@if $enable-rounded { | |
border-radius: $radius; | |
} | |
} | |
@mixin box-shadow($shadow...) { | |
@if $enable-shadows { | |
box-shadow: $shadow; | |
} | |
} | |
@mixin transition($transition...) { | |
@if $enable-transitions { | |
transition: $transition; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.m-t { margin-top: $spacer-y !important; } | |
.m-t-md { margin-top: ($spacer-y * 1.5) !important; } | |
.m-t-lg { margin-top: ($spacer-y * 3) !important; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$spacer: 1rem !default; | |
$spacer-x: $spacer !default; | |
$spacer-y: $spacer !default; | |
$border-width: .0625rem !default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$enable-flex: false !default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$enable-flex: true !default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { | |
font-size: 16px; | |
-ms-overflow-style: scrollbar; | |
-webkit-tap-highlight-color: transparent; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ bower install bootstrap#4.0.0-alpha |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// CSS distribution task. | |
// Supported Compilers: sass (Ruby) and libsass. | |
(function (sassCompilerName) { | |
require('./grunt/bs-sass-compile/' + sassCompilerName + '.js')(grunt); | |
})(process.env.TWBS_SASS || 'libsass'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// CSS distribution task. | |
// Supported Compilers: sass (Ruby) and libsass. | |
(function (sassCompilerName) { | |
require('./grunt/bs-sass-compile/' + sassCompilerName + '.js')(grunt); | |
})(process.env.TWBS_SASS || 'sass'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment