Skip to content

Commit 23aea95

Browse files
committed
translation grid
1 parent ea5c5ef commit 23aea95

3 files changed

Lines changed: 39 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
2.5 Buttons
1919
2.6 Cards
2020
2.7 [Checkbox](chapters/02-componentes/2g-checkbox.md)
21-
2.8 Grid
21+
2.8 [Grid](chapters/02-componentes/2h-grid.md)
2222
2.9 Icons
2323
2.10 Inputs
2424
2.11 Lists

chapters/02-componentes/2h-grid.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Grid (grade)
2+
O sistema de grid do Ionic é baseado em flexbox, uma característica CSS suportado por todos os dispositivos que o Ionic da suporte .
3+
A grid é composta por duas unidades: linhas e colunas. A coluna irá expandir para preencher sua linha, e será redimensionada para caber colunas adicionais.
4+
5+
6+
A fim de definir a largura, use o atributo width na tag ion-col.
7+
8+
### Uso Básico
9+
10+
<ion-row>
11+
<ion-col width-10>Essa coluna terá 10% de espaço</ion-col>
12+
</ion-row>
13+
14+
Atributos de colunas explícitas em porcentagens
15+
---
16+
width-10 10%
17+
***
18+
width-20 20%
19+
***
20+
width-25 25%
21+
***
22+
width-33 33.3333%
23+
***
24+
width-50 50%
25+
***
26+
width-67 66.6666%
27+
***
28+
width-75 75%
29+
***
30+
width-80 80%
31+
***
32+
width-90 90%
33+
***
34+
35+
Use o atributo `offset` na coluna para definir seu percentual de deslocamento da esquerda (por exemplo: offset-25).Para alterar colunas por uma linha alinhada verticalmente, adicione o atributo center ou baseline no <ion-row>.
36+
37+
Use o atributo wrap em um elemento <ion-row> para permitir que itens nessa linha sejam envolvidos. Aplica-se flex-wrap: wrap; para estilizar o elemento <ion-row>.

chapters/02-componentes/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
2.5 > Buttons
77
2.6 > Cards
88
2.7 [Checkbox](2g-checkbox.md)
9-
2.8 > Grid
9+
2.8 > [Grid](2h-grid.md)
1010
2.9 > Icons
1111
2.10 > Inputs
1212
2.11 > Lists

0 commit comments

Comments
 (0)