-
Notifications
You must be signed in to change notification settings - Fork 0
04 Layout
ねゆんせ edited this page Feb 28, 2023
·
2 revisions
The default container is 960 pixels wide and has a padding of 15 pixels on the sides. By default, all content will be displayed in the center.
<div class="kg__container">
<!-- All content -->
</div>The default height of the container is set depending on the contents of the container, but can be changed using
h-100this will accommodate the high at 100vh.
The expanded container occupies 100% of the width and has a padding of 15 pixels on the sides.
<div class="kg__container kg-expanded">
<!-- All content -->
</div>-
kg-expanded: expands the container to 100% of the width -
h-100: sets the height of the container to 100vh -
kg-dark: sets the background color of the container to#2b2b2b
-
kg__flexkg__flex-wrap-nowrapkg__flex-wrap-wrapkg__flex-wrap-wrap_reversekg__flex-direction-columnkg__flex-direction-rowkg__flex-direction-row_reversekg__flex-direction-column_reversefl-jc-flex_startfl-jc-flex_endfl-jc-flex_centerfl-jc-space_betweenfl-jc-space_aroundfl-jc-space_evenlyfl-jc-space_betweenfl-ali-flex_startfl-ali-flex_endfl-ali-flex_centerfl-ali-stretchfl-ali-baselinefl-alc-flex_startfl-alc-flex_endfl-alc-flex_centerfl-alc-stretchfl-alc-space_betweenfl-alc-stretchfl-alc-space_aroundgap-10gap-20gap-30
-
kg__color-
pl-colors* `-primary` * `-secondary` * `-tertiary` * `-quaternary` * `-quinary` * `-dark` -
pl-bg* `-primary` * `-secondary` * `-tertiary` * `-quaternary` * `-quinary` * `-dark`
-
<div class="kg__color pl-bg-dark">
<span class="kg__color pl-colors">hello world</span>
<span class="kg__color pl-colors-primary">hello world</span>
</div>