Skip to main content
Version: 0.6

Scale

Utilities for scaling elements with transform. We provide 2 helper method to scale Width and Height depend on the mobile screen.

scaleWidth

import { scaleWidth } from 'osmicsx'

scaleWidth('100%')

scaleHeight

import { scaleHeight } from 'osmicsx'

scaleHeight('100%')