mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 11:53:38 +09:00
first
This commit is contained in:
27
documentation/flex/v-flex-base-documentation.md
Normal file
27
documentation/flex/v-flex-base-documentation.md
Normal file
@@ -0,0 +1,27 @@
|
||||
### VFlex
|
||||
|
||||
Vuero come with `VFlex` and `VFlexItem` which are utility components to compose
|
||||
**CSS flexbox layout** with ease. The component `VFlex` will represent
|
||||
the flex container and can contains anything in its slot.
|
||||
The component `VFlexItem` allow to have finest control how the item is
|
||||
positioned inside the `VFlex` parent.
|
||||
|
||||
> You can find a [complete guide on css-tricks.com](https://css-tricks.com/snippets/css/a-guide-to-flexbox/)
|
||||
|
||||
<!--code-->
|
||||
|
||||
```vue
|
||||
<template>
|
||||
<VFlex>
|
||||
<!-- use any components inside --->
|
||||
<VCard />
|
||||
|
||||
<!-- use VFlexItem to have more control --->
|
||||
<VFlexItem>
|
||||
<VAvatar initials="J." />
|
||||
</VFlexItem>
|
||||
</VFlex>
|
||||
</template>
|
||||
```
|
||||
|
||||
<!--/code-->
|
||||
Reference in New Issue
Block a user