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
.clear-select { | |
border: none; | |
border-radius: 0; | |
outline: none; | |
appearance: none; | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
-o-appearance: none; | |
text-indent: 0.01px; // Need this to hide default select in FF | |
text-overflow: ''; // Need this to hide default select in FF |
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
<script> | |
var dismiss = '[data-dismiss="alert"]' | |
// ALERT DATA-API | |
var buttons = '[data-toggle="buttons"]' | |
// BUTTON DATA-API | |
var button ='[data-toggle="button"]' | |
// CAROUSEL DATA-API |
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
.navbar | |
.caret | |
.label | |
.table | |
.img-responsive | |
.img-rounded | |
.img-thumbnail | |
.img-circle | |
.sr-only | |
.lead |
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
var fs = require('fs') | |
, read = fs.readFileSync | |
, css_parse = require('css-parse'); | |
var parsedCss = css_parse(read("./path/to/bootstrap.min.css", 'utf8')); | |
var collectedClassnames = {} | |
for (var i = 0; i < parsedCss.stylesheet.rules.length; ++i) { | |
var rule = output_obj.stylesheet.rules[i]; | |
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
Here are all the classes from Bootstrap 3 (version 3.1.1). | |
Method of extraction: | |
1. Download Bootstrap 3 and rename bootstrap.css as "bootstrap.html" | |
2. Add the following 24 lines of code to the very bottom of the bootstrap.html file: | |
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.min.js"></script> | |
<script> |