-
Notifications
You must be signed in to change notification settings - Fork 0
/
Bootstrap Grid.php
181 lines (115 loc) · 4.31 KB
/
Bootstrap Grid.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<?php
########################################################################################
/**
* BOOTSTRAP 5.1 PHPWine Template Column / Grid |
* PHPHtml-Optimizer
* @version v1.2.0.6
* @since 02.21.2022
*
* Would you like me to treat a cake and coffee ?
* Become a donor, Because with you! We can build more...
* Donate :
* GCash : +639650332900
* Paypal account : [email protected]
**/
########################################################################################
/***
* BreakPoint:
*
* xs col-? | sm col-sm-? | md col-md-? | lg col-lg-? | xl col-xl-? | xxl col-xxl-?
*
***/
_xSTYLE(' * { text-align: center; } ');
_xh1('Grid system');
_xp('','Use our powerful mobile-first flexbox grid to build layouts of all shapes and sizes thanks to a twelve column system, six default responsive tiers, Sass variables and mixins, and dozens of predefined classes.');
echo __HR();
_div( [['class'],['fluid-container']] );
_xh1('2 COLUMN');
$grid_system = ELEM( 'div', [
CHILD => [
['div' , ATTR => ['class'=> 'row']
, INNER => [
[ 'div', 'ATTR' => ['class' => 'col'] , VALUE => [ 'col 1' ] ],
[ 'div', 'ATTR' => ['class' => 'col'] , VALUE => [ 'col 2' ] ]
]
]
]
] , [['class'],['container']] );
// execution
echo $grid_system;
xdiv('END-OF-Grid system');
_xh1('3 COLUMN');
echo __HR();
_div( [['class'],['fluid-container']] );
$grid_system = ELEM( 'div', [ CHILD => [
['div' , ATTR => ['class'=> 'row']
, INNER => [
[ 'div', 'ATTR' => ['class' => 'col'] , VALUE => [ 'col 1' ] ],
[ 'div', 'ATTR' => ['class' => 'col'] , VALUE => [ 'col 2' ] ],
[ 'div', 'ATTR' => ['class' => 'col'] , VALUE => [ 'col 3' ] ]
]
]
]
] , [['class'],['container']] );
// execution
echo $grid_system;
xdiv('END-OF-Grid system');
_xh1('4 COLUMN');
echo __HR();
_div( [['class'],['fluid-container']] );
$grid_system = ELEM( 'div', [ CHILD => [
['div' , ATTR => ['class'=> 'row']
, INNER => [
[ 'div', 'ATTR' => ['class' => 'col'] , VALUE => [ 'col 1' ] ],
[ 'div', 'ATTR' => ['class' => 'col'] , VALUE => [ 'col 2' ] ],
[ 'div', 'ATTR' => ['class' => 'col'] , VALUE => [ 'col 3' ] ],
[ 'div', 'ATTR' => ['class' => 'col'] , VALUE => [ 'col 4' ] ]
]
]
]
] , [['class'],['container']] );
// execution
echo $grid_system;
xdiv('END-OF-Grid system');
_xh1('5 COLUMN');
echo __HR();
_div( [['class'],['fluid-container']] );
$grid_system = ELEM( 'div', [ CHILD => [
['div' , ATTR => ['class'=> 'row']
, INNER => [
[ 'div', 'ATTR' => ['class' => 'col'] , VALUE => [ 'col 1' ] ],
[ 'div', 'ATTR' => ['class' => 'col'] , VALUE => [ 'col 2' ] ],
[ 'div', 'ATTR' => ['class' => 'col'] , VALUE => [ 'col 3' ] ],
[ 'div', 'ATTR' => ['class' => 'col'] , VALUE => [ 'col 4' ] ],
[ 'div', 'ATTR' => ['class' => 'col'] , VALUE => [ 'col 5' ] ]
]
]
]
] , [['class'],['container']] );
// execution
echo $grid_system;
xdiv('END-OF-Grid system');
_xh1('6 COLUMN');
echo __HR();
_div( [['class'],['fluid-container']] );
$grid_system = ELEM( 'div', [ CHILD => [
['div' , ATTR => ['class'=> 'row']
, INNER => [
[ 'div', 'ATTR' => ['class' => 'col'] , VALUE => [ 'col 1' ] ],
[ 'div', 'ATTR' => ['class' => 'col'] , VALUE => [ 'col 2' ] ],
[ 'div', 'ATTR' => ['class' => 'col'] , VALUE => [ 'col 3' ] ],
[ 'div', 'ATTR' => ['class' => 'col'] , VALUE => [ 'col 4' ] ],
[ 'div', 'ATTR' => ['class' => 'col'] , VALUE => [ 'col 5' ] ],
[ 'div', 'ATTR' => ['class' => 'col'] , VALUE => [ 'col 6' ] ]
]
]
]
] , [['class'],['container']] );
// execution
echo $grid_system;
xdiv('END-OF-Grid system');
echo __BR();
echo __HR();
echo __BR();
?>
<?php require ('footer.php'); ?>