0.3.0 • Published 4 years ago

@simplr-wc/container v0.3.0

Weekly downloads
22
License
MIT
Repository
github
Last release
4 years ago

Simplr Container

Usage

Import
import '@simplr-wc/container';
Use
<simplr-container></simplr-container>

Properties

PropertyAttributeTypeDefaultDescription
alignContentalignContentstring""Align-content property of the container
alignItemsalignItemsstring""Align-items property of the container
blockblockbooleanfalseShorthand to use "display: block;"
borderRadiusborderRadiusstring"0px"Border radius of the container
displaydisplay"inline"\|"block"\|"contents"\|"flex"\|"grid"\|"inline-block"\|"inline-flex"\|"inline-grid"\|"inline-table"\|"list-item"\|"run-in"\|"table"\|"table-caption"\|"table-column-group"\|"table-header-group"\|"table-footer-group"\|"table-row-group"\|"table-cell"\|"table-column"\|"table-row"\|"none"\|"initial"\|"inherit""block"Display type of the container
elevationelevationnumber0Elevation of the container. (Values 0 - 12)
flexflexbooleanfalseShorthand to use "display: flex;"
flexDirectionflexDirectionstring"row"Flex-direction property of the container
flexWrapflexWrapbooleanfalseShorthand from "flex-wrap: wrap;"
heightheightstring"auto"Height property of the container
horizontalCenterhorizontalCenterbooleanfalseShorthand to horizontally center content (! Required display: flex !)
inlineinlinebooleanfalseShorthand to use "display: inline;"nm
justifyContentjustifyContentstring""Justify-content property of the container
marginmarginstring"8px"Margin property of the container
maxHeightmaxHeightbooleanfalseShorthand for "height: 100%;"
maxWidthmaxWidthbooleanfalseShorthand for "width: 100%;"
noMarginnoMarginbooleanfalseShorthand for "margin: 0;"
noPaddingnoPaddingbooleanfalseShorthand for "padding: 0;"
paddingpaddingstring"0px"Padding property of the container
roundedCornersroundedCornersbooleanfalseShorthand to round corners by material guidelines (4px)
verticalCenterverticalCenterbooleanfalseShorthand to vertically center content (! Required display: flex !)
widthwidthstring"auto"Width property of the container
0.3.0

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.6

4 years ago