@sequencemedia/css-purge
Version:
A CSS tool written in Node JS as a command line app or library for the purging, burning, reducing, shortening, compressing, cleaning, trimming and formatting of duplicate, extra, excess or bloated CSS.
13 lines (12 loc) • 391 B
JavaScript
export default function hasPropertyBorderTopRightBottomLeft ({ property }) {
return (
property === 'border-top' ||
property === 'border-right' ||
property === 'border-bottom' ||
property === 'border-left' ||
property === 'border-top-width' ||
property === 'border-right-width' ||
property === 'border-bottom-width' ||
property === 'border-left-width'
)
}