genericbox-sizing
v1.1.1arrow_drop_downv1.1.1
STATUS
Passing
DOWNLOADS
10
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
3 KB
Set the global `box-sizing` state to `border-box`.
1 contributor
Like
Install genericbox-sizing as a package?
Copied
npm i @bit/ashwani18.shared-ui-components.sd-ui.styles.genericbox-sizing
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
chevron_left
chevron_right
sdUi/styles/genericboxSizing ()
Set the global box-sizing
state to border-box
.
css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice paulirish.com/2012/box-sizing-border-box-ftw