responsive.js 243 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 import postcss from 'postcss' import cloneNodes from './cloneNodes' export default function responsive(rules) { return postcss .atRule({ name: 'responsive', }) .append(cloneNodes(Array.isArray(rules) ? rules : [rules])) }