Sha256: 36464020d707f39b8b9ed1dc523005f95590fb1fdd48b7f20ff99eed64e071aa
Contents?: true
Size: 401 Bytes
Versions: 169
Compression:
Stored size: 401 Bytes
Contents
module.exports = function (mixin, minHeight = '32px', minWidth = null) { let declarations = { position: 'absolute', top: '50%', left: '50%', width: '100%', height: '100%', 'min-height': minHeight, content: '""', transform: 'translateX(-50%) translateY(-50%)' } if (minWidth) { declarations['min-width'] = minWidth } return { '&': declarations } }
Version data entries
169 entries across 169 versions & 2 rubygems