purifycss/special

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

Homepage:

Size: 6

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Very early stages.

In your CLI
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 */
With a config
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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.