Name: special
Owner: PurifyCSS
Description: CSS Installer
Created: 2016-02-09 04:47:42.0
Updated: 2017-10-05 22:57:45.0
Pushed: 2016-02-17 04:14:41.0
Size: 6
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Very early stages.
install --save special
ecial install bootstrap *modal*
A file named special.css
will be created containing only the modal styles from bootstrap.
ile trimmed */
al-open {
erflow: hidden;
al {
sition: fixed;
p: 0;
ght: 0;
ttom: 0;
ft: 0;
index: 1050;
splay: none;
erflow: hidden;
ebkit-overflow-scrolling: touch;
tline: 0;
al.fade .modal-dialog {
ebkit-transition: -webkit-transform .3s ease-out;
-transition: -o-transform .3s ease-out;
ansition: transform .3s ease-out;
ebkit-transform: translate(0, -25%);
s-transform: translate(0, -25%);
-transform: translate(0, -25%);
ansform: translate(0, -25%);
al.in .modal-dialog {
ebkit-transform: translate(0, 0);
s-transform: translate(0, 0);
-transform: translate(0, 0);
ansform: translate(0, 0);
al-open .modal {
erflow-x: hidden;
erflow-y: auto;
ile trimmed */
xample config file
pecial.config.js
le.exports = {
ckages: {
bootstrap: {
selectors: ['*modal*']
},
'normalize.css': {
selectors: ['**']
}
Then, in your CLI do
ial install
And it will create a special.css
file made up of all the selectors from normalize.css
with the addition to all modal
selectors from bootstrap.