Last active
January 29, 2016 06:19
-
-
Save df2k2/f6a6e9ca629c30bd4ff3 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/css/bootstrap.min.css" integrity="sha384-y3tfxAZXuh4HwSYylfB+J125MxIs6mR5FOHamPBG064zB+AFeWH94NdvaCBm8qnd" crossorigin="anonymous"> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> | |
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/js/bootstrap.min.js" integrity="sha384-vZ2WRJMwsjRMW/8U7i6PWi6AlO1L79snBrmgiDpgIWJ82z8eA5lenwvxbMV1PAh7" crossorigin="anonymous"></script> | |
<script> | |
document.ready(function(){ | |
jQuery('.dropdown-toggle').dropdown(); | |
}); | |
</script> | |
<div class="container"> | |
<div class="m-y-2"> | |
<!-- Split button --> | |
<div class="btn-group"> | |
<button type="button" class="btn btn-danger">Action</button> | |
<button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | |
<span class="sr-only">Toggle Dropdown</span> | |
</button> | |
<div class="dropdown-menu"> | |
<a class="dropdown-item" href="#">Action</a> | |
<a class="dropdown-item" href="#">Another action</a> | |
<a class="dropdown-item" href="#">Something else here</a> | |
<div class="dropdown-divider"></div> | |
<a class="dropdown-item" href="#">Separated link</a> | |
</div> | |
</div> | |
<hr> | |
<!-- Single button --> | |
<div class="btn-group"> | |
</div> | |
<hr> | |
<hr> | |
<div class="btn-group" role="group" aria-label="Basic example"> | |
<button type="button" class="btn btn-secondary">Left</button> | |
<button type="button" class="btn btn-secondary">Middle</button> | |
<button type="button" class="btn btn-secondary">Right</button> | |
</div> | |
<hr> | |
<button type="button" class="btn btn-primary btn-lg">Large button</button> | |
<button type="button" class="btn btn-secondary btn-lg">Large button</button> | |
</div> | |
<div class="m-y-2"> | |
<div class="btn-group" data-toggle="buttons"> | |
<label class="btn btn-primary active"> | |
<input type="checkbox" checked autocomplete="off"> Checkbox 1 (pre-checked) | |
</label> | |
<label class="btn btn-primary"> | |
<input type="checkbox" autocomplete="off"> Checkbox 2 | |
</label> | |
<label class="btn btn-primary"> | |
<input type="checkbox" autocomplete="off"> Checkbox 3 | |
</label> | |
</div> | |
</div> | |
<div class="m-y-2"> | |
</div> | |
<div class="m-y-2"> | |
<button type="button" class="btn btn-primary-outline">Primary</button> | |
<button type="button" class="btn btn-secondary-outline">Secondary</button> | |
<button type="button" class="btn btn-success-outline">Success</button> | |
<button type="button" class="btn btn-info-outline">Info</button> | |
<button type="button" class="btn btn-warning-outline">Warning</button> | |
<button type="button" class="btn btn-danger-outline">Danger</button> | |
</div> | |
<div class="m-b-2"> | |
<a class="btn btn-primary" href="#" role="button">Link</a> | |
<button class="btn btn-primary" type="submit">Button</button> | |
<input class="btn btn-primary" type="button" value="Input"> | |
<input class="btn btn-primary" type="submit" value="Submit"> | |
</div> | |
<button type="button" class="btn btn-primary">Primary</button> | |
<!-- Secondary, outline button --> | |
<button type="button" class="btn btn-secondary">Secondary</button> | |
<!-- Indicates a successful or positive action --> | |
<button type="button" class="btn btn-success">Success</button> | |
<!-- Contextual button for informational alert messages --> | |
<button type="button" class="btn btn-info">Info</button> | |
<!-- Indicates caution should be taken with this action --> | |
<button type="button" class="btn btn-warning">Warning</button> | |
<!-- Indicates a dangerous or potentially negative action --> | |
<button type="button" class="btn btn-danger">Danger</button> | |
<!-- Deemphasize a button by making it look like a link while maintaining button behavior --> | |
<button type="button" class="btn btn-link">Link</button> | |
</div> |
This file contains hidden or 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
// ---- | |
// Sass (v3.4.20) | |
// Compass (v1.0.3) | |
// ---- | |
// @import "bourbon/bourbon"; | |
// @import "neat/neat"; | |
This file contains hidden or 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
* { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} |
This file contains hidden or 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
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/css/bootstrap.min.css" integrity="sha384-y3tfxAZXuh4HwSYylfB+J125MxIs6mR5FOHamPBG064zB+AFeWH94NdvaCBm8qnd" crossorigin="anonymous"> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> | |
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/js/bootstrap.min.js" integrity="sha384-vZ2WRJMwsjRMW/8U7i6PWi6AlO1L79snBrmgiDpgIWJ82z8eA5lenwvxbMV1PAh7" crossorigin="anonymous"></script> | |
<script> | |
document.ready(function(){ | |
jQuery('.dropdown-toggle').dropdown(); | |
}); | |
</script> | |
<div class="container"> | |
<div class="m-y-2"> | |
<!-- Split button --> | |
<div class="btn-group"> | |
<button type="button" class="btn btn-danger">Action</button> | |
<button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | |
<span class="sr-only">Toggle Dropdown</span> | |
</button> | |
<div class="dropdown-menu"> | |
<a class="dropdown-item" href="#">Action</a> | |
<a class="dropdown-item" href="#">Another action</a> | |
<a class="dropdown-item" href="#">Something else here</a> | |
<div class="dropdown-divider"></div> | |
<a class="dropdown-item" href="#">Separated link</a> | |
</div> | |
</div> | |
<hr> | |
<!-- Single button --> | |
<div class="btn-group"> | |
</div> | |
<hr> | |
<hr> | |
<div class="btn-group" role="group" aria-label="Basic example"> | |
<button type="button" class="btn btn-secondary">Left</button> | |
<button type="button" class="btn btn-secondary">Middle</button> | |
<button type="button" class="btn btn-secondary">Right</button> | |
</div> | |
<hr> | |
<button type="button" class="btn btn-primary btn-lg">Large button</button> | |
<button type="button" class="btn btn-secondary btn-lg">Large button</button> | |
</div> | |
<div class="m-y-2"> | |
<div class="btn-group" data-toggle="buttons"> | |
<label class="btn btn-primary active"> | |
<input type="checkbox" checked autocomplete="off"> Checkbox 1 (pre-checked) | |
</label> | |
<label class="btn btn-primary"> | |
<input type="checkbox" autocomplete="off"> Checkbox 2 | |
</label> | |
<label class="btn btn-primary"> | |
<input type="checkbox" autocomplete="off"> Checkbox 3 | |
</label> | |
</div> | |
</div> | |
<div class="m-y-2"> | |
</div> | |
<div class="m-y-2"> | |
<button type="button" class="btn btn-primary-outline">Primary</button> | |
<button type="button" class="btn btn-secondary-outline">Secondary</button> | |
<button type="button" class="btn btn-success-outline">Success</button> | |
<button type="button" class="btn btn-info-outline">Info</button> | |
<button type="button" class="btn btn-warning-outline">Warning</button> | |
<button type="button" class="btn btn-danger-outline">Danger</button> | |
</div> | |
<div class="m-b-2"> | |
<a class="btn btn-primary" href="#" role="button">Link</a> | |
<button class="btn btn-primary" type="submit">Button</button> | |
<input class="btn btn-primary" type="button" value="Input"> | |
<input class="btn btn-primary" type="submit" value="Submit"> | |
</div> | |
<button type="button" class="btn btn-primary">Primary</button> | |
<!-- Secondary, outline button --> | |
<button type="button" class="btn btn-secondary">Secondary</button> | |
<!-- Indicates a successful or positive action --> | |
<button type="button" class="btn btn-success">Success</button> | |
<!-- Contextual button for informational alert messages --> | |
<button type="button" class="btn btn-info">Info</button> | |
<!-- Indicates caution should be taken with this action --> | |
<button type="button" class="btn btn-warning">Warning</button> | |
<!-- Indicates a dangerous or potentially negative action --> | |
<button type="button" class="btn btn-danger">Danger</button> | |
<!-- Deemphasize a button by making it look like a link while maintaining button behavior --> | |
<button type="button" class="btn btn-link">Link</button> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment