mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-05 14:04:44 +00:00
revert demo code for layout #216
This commit is contained in:
parent
2d139d8af3
commit
effc6412e6
1 changed files with 169 additions and 0 deletions
|
|
@ -179,7 +179,41 @@
|
|||
|
||||
<div slot="code">
|
||||
<code-block lang="xml">
|
||||
<md-layout md-gutter>
|
||||
<md-layout md-flex-xsmall="100" md-flex-small="50" md-flex-medium="33">
|
||||
md-flex-xsmall <br>
|
||||
md-flex-small="50" <br>
|
||||
md-flex-medium="33"
|
||||
</md-layout>
|
||||
|
||||
<md-layout md-flex-xsmall="100" md-flex-small="50" md-flex-medium="33">
|
||||
md-flex-xsmall <br>
|
||||
md-flex-small="50" <br>
|
||||
md-flex-medium="33"
|
||||
</md-layout>
|
||||
|
||||
<md-layout md-flex-xsmall="100" md-flex-small="50" md-flex-medium="33">
|
||||
md-flex-xsmall <br>
|
||||
md-flex-small="50" <br>
|
||||
md-flex-medium="33"
|
||||
</md-layout>
|
||||
|
||||
<md-layout md-flex-xsmall="100" md-flex-small="50" md-flex-medium="33">
|
||||
md-flex-xsmall <br>
|
||||
md-flex-small="50" <br>
|
||||
md-flex-medium="33"
|
||||
</md-layout>
|
||||
|
||||
<md-layout md-flex-small="100" md-flex-medium="33" md-hide-xsmall>
|
||||
md-flex-medium="33" <br>
|
||||
md-hide-xsmall
|
||||
</md-layout>
|
||||
|
||||
<md-layout md-flex md-flex-medium="33" md-hide-small>
|
||||
md-flex-medium="33" <br>
|
||||
md-hide-small
|
||||
</md-layout>
|
||||
</md-layout>
|
||||
</code-block>
|
||||
</div>
|
||||
</example-box>
|
||||
|
|
@ -222,7 +256,38 @@
|
|||
|
||||
<div slot="code">
|
||||
<code-block lang="xml">
|
||||
<md-layout md-gutter>
|
||||
<md-layout md-flex="50"></md-layout>
|
||||
<md-layout></md-layout>
|
||||
<md-layout></md-layout>
|
||||
<md-layout></md-layout>
|
||||
</md-layout>
|
||||
|
||||
<md-layout md-gutter>
|
||||
<md-layout md-flex="33"></md-layout>
|
||||
<md-layout></md-layout>
|
||||
</md-layout>
|
||||
|
||||
<md-layout md-gutter>
|
||||
<md-layout></md-layout>
|
||||
<md-layout md-flex="33" md-flex-offset="33"></md-layout>
|
||||
</md-layout>
|
||||
|
||||
<md-layout md-gutter>
|
||||
<md-layout md-flex="75"></md-layout>
|
||||
<md-layout></md-layout>
|
||||
</md-layout>
|
||||
|
||||
<md-layout md-gutter>
|
||||
<md-layout md-flex="50"></md-layout>
|
||||
<md-layout></md-layout>
|
||||
<md-layout></md-layout>
|
||||
</md-layout>
|
||||
|
||||
<md-layout md-gutter>
|
||||
<md-layout md-flex="25" md-flex-offset="25"></md-layout>
|
||||
<md-layout md-flex="25"></md-layout>
|
||||
</md-layout>
|
||||
</code-block>
|
||||
</div>
|
||||
</example-box>
|
||||
|
|
@ -245,7 +310,18 @@
|
|||
|
||||
<div slot="code">
|
||||
<code-block lang="xml">
|
||||
<md-layout md-gutter>
|
||||
<md-layout md-column md-gutter>
|
||||
<md-layout md-flex="20"></md-layout>
|
||||
<md-layout></md-layout>
|
||||
</md-layout>
|
||||
|
||||
<md-layout md-column md-gutter>
|
||||
<md-layout md-flex="50"></md-layout>
|
||||
<md-layout></md-layout>
|
||||
<md-layout></md-layout>
|
||||
</md-layout>
|
||||
</md-layout>
|
||||
</code-block>
|
||||
</div>
|
||||
</example-box>
|
||||
|
|
@ -350,7 +426,100 @@
|
|||
|
||||
<div slot="code">
|
||||
<code-block lang="xml">
|
||||
<md-layout>
|
||||
<md-layout></md-layout>
|
||||
<md-layout></md-layout>
|
||||
</md-layout>
|
||||
|
||||
<md-layout :md-gutter="8">
|
||||
<md-layout>
|
||||
<span>8px</span>
|
||||
</md-layout>
|
||||
|
||||
<md-layout>
|
||||
<span>8px</span>
|
||||
</md-layout>
|
||||
|
||||
<md-layout>
|
||||
<span>8px</span>
|
||||
</md-layout>
|
||||
|
||||
<md-layout>
|
||||
<span>8px</span>
|
||||
</md-layout>
|
||||
|
||||
<md-layout>
|
||||
<span>8px</span>
|
||||
</md-layout>
|
||||
|
||||
<md-layout>
|
||||
<span>8px</span>
|
||||
</md-layout>
|
||||
</md-layout>
|
||||
|
||||
<md-layout md-gutter="16">
|
||||
<md-layout>
|
||||
<span>16px</span>
|
||||
</md-layout>
|
||||
|
||||
<md-layout>
|
||||
<span>16px</span>
|
||||
</md-layout>
|
||||
|
||||
<md-layout>
|
||||
<span>16px</span>
|
||||
</md-layout>
|
||||
|
||||
<md-layout>
|
||||
<span>16px</span>
|
||||
</md-layout>
|
||||
|
||||
<md-layout>
|
||||
<span>16px</span>
|
||||
</md-layout>
|
||||
</md-layout>
|
||||
|
||||
<md-layout :md-gutter="24">
|
||||
<md-layout>
|
||||
<span>24px</span>
|
||||
</md-layout>
|
||||
|
||||
<md-layout>
|
||||
<span>24px</span>
|
||||
</md-layout>
|
||||
|
||||
<md-layout>
|
||||
<span>24px</span>
|
||||
</md-layout>
|
||||
|
||||
<md-layout>
|
||||
<span>24px</span>
|
||||
</md-layout>
|
||||
</md-layout>
|
||||
|
||||
<md-layout :md-gutter="40">
|
||||
<md-layout>
|
||||
<span>40px</span>
|
||||
</md-layout>
|
||||
|
||||
<md-layout>
|
||||
<span>40px</span>
|
||||
</md-layout>
|
||||
|
||||
<md-layout>
|
||||
<span>40px</span>
|
||||
</md-layout>
|
||||
</md-layout>
|
||||
|
||||
<md-layout md-gutter>
|
||||
<md-layout>
|
||||
<span>Automatic</span>
|
||||
</md-layout>
|
||||
|
||||
<md-layout>
|
||||
<span>Automatic</span>
|
||||
</md-layout>
|
||||
</md-layout>
|
||||
</code-block>
|
||||
</div>
|
||||
</example-box>
|
||||
|
|
|
|||
Loading…
Reference in a new issue