@birdycom/omniacss 0.0.0-stage → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +43 -2
  3. package/dist/oc-colors.css +4429 -0
  4. package/dist/oc-theme.css +69 -0
  5. package/dist/omnia.css +465435 -0
  6. package/dist/omnia.min.css +2 -0
  7. package/dist/omnia.starter.css +13459 -0
  8. package/dist/omnia.starter.min.css +1 -0
  9. package/dist/tokens/omnia.dtcg.json +1496 -0
  10. package/dist/tokens/omnia.tokens.json +580 -0
  11. package/dist/tokens/omnia_tokens.py +189 -0
  12. package/package.json +61 -4
  13. package/scss/base/_reset.scss +88 -0
  14. package/scss/config/omniacss.config.scss +114 -0
  15. package/scss/config/omniacss.fonts.scss +34 -0
  16. package/scss/functions/_functions.scss +407 -0
  17. package/scss/json/html-colors.json +1998 -0
  18. package/scss/json/omnia-colors.json +500 -0
  19. package/scss/json/ral-colors.json +3430 -0
  20. package/scss/layout/_media_query.scss +18 -0
  21. package/scss/omnia_colors.scss +7 -0
  22. package/scss/omnia_main.scss +143 -0
  23. package/scss/profiles/omnia_main.hsl.scss +12 -0
  24. package/scss/profiles/omnia_main.oklab.scss +12 -0
  25. package/scss/profiles/omnia_main.oklch.scss +12 -0
  26. package/scss/utilities/_accessibility.scss +42 -0
  27. package/scss/utilities/_alignment.scss +861 -0
  28. package/scss/utilities/_anchor_positioning.scss +65 -0
  29. package/scss/utilities/_animation_properties.scss +143 -0
  30. package/scss/utilities/_aspect.scss +73 -0
  31. package/scss/utilities/_backgrounds.scss +49 -0
  32. package/scss/utilities/_borders_extended.scss +97 -0
  33. package/scss/utilities/_borders_outlines.scss +161 -0
  34. package/scss/utilities/_clamp.scss +111 -0
  35. package/scss/utilities/_colors_html.scss +341 -0
  36. package/scss/utilities/_colors_mix.scss +84 -0
  37. package/scss/utilities/_colors_omnia.scss +315 -0
  38. package/scss/utilities/_colors_ral.scss +151 -0
  39. package/scss/utilities/_colors_tokens.scss +87 -0
  40. package/scss/utilities/_container.scss +58 -0
  41. package/scss/utilities/_containment.scss +82 -0
  42. package/scss/utilities/_corner_shape.scss +30 -0
  43. package/scss/utilities/_css_functions.scss +34 -0
  44. package/scss/utilities/_dark_mode.scss +117 -0
  45. package/scss/utilities/_display.scss +58 -0
  46. package/scss/utilities/_drop_shadow_colors.scss +26 -0
  47. package/scss/utilities/_effects.scss +50 -0
  48. package/scss/utilities/_effects_advanced.scss +102 -0
  49. package/scss/utilities/_experimental_css.scss +149 -0
  50. package/scss/utilities/_filters.scss +89 -0
  51. package/scss/utilities/_flexbox.scss +318 -0
  52. package/scss/utilities/_font_variants.scss +139 -0
  53. package/scss/utilities/_fonts.scss +276 -0
  54. package/scss/utilities/_gap.scss +104 -0
  55. package/scss/utilities/_gradient_stops.scss +48 -0
  56. package/scss/utilities/_gradients.scss +99 -0
  57. package/scss/utilities/_grid.scss +673 -0
  58. package/scss/utilities/_index.scss +22 -0
  59. package/scss/utilities/_interactivity.scss +198 -0
  60. package/scss/utilities/_layering.scss +24 -0
  61. package/scss/utilities/_layout_extras.scss +171 -0
  62. package/scss/utilities/_layout_flow.scss +210 -0
  63. package/scss/utilities/_mask_extras.scss +62 -0
  64. package/scss/utilities/_motion_transforms.scss +167 -0
  65. package/scss/utilities/_overflow.scss +41 -0
  66. package/scss/utilities/_position.scss +49 -0
  67. package/scss/utilities/_responsive.scss +272 -0
  68. package/scss/utilities/_scroll_animations.scss +80 -0
  69. package/scss/utilities/_scroll_spacing.scss +33 -0
  70. package/scss/utilities/_scrollbar.scss +49 -0
  71. package/scss/utilities/_shadow_tokens.scss +21 -0
  72. package/scss/utilities/_shapes.scss +72 -0
  73. package/scss/utilities/_sizing.scss +458 -0
  74. package/scss/utilities/_sizing_logical.scss +99 -0
  75. package/scss/utilities/_space_divide.scss +85 -0
  76. package/scss/utilities/_spacing_margin.scss +199 -0
  77. package/scss/utilities/_spacing_padding.scss +195 -0
  78. package/scss/utilities/_starting_style.scss +53 -0
  79. package/scss/utilities/_state_variants.scss +196 -0
  80. package/scss/utilities/_svg.scss +100 -0
  81. package/scss/utilities/_table.scss +46 -0
  82. package/scss/utilities/_table_advanced.scss +19 -0
  83. package/scss/utilities/_text.scss +1331 -0
  84. package/scss/utilities/_transforms_3d.scss +76 -0
  85. package/scss/utilities/_typography_advanced.scss +124 -0
  86. package/scss/utilities/_typography_modern.scss +83 -0
  87. package/scss/utilities/_view_transitions.scss +64 -0
  88. package/scss/utilities/_writing_modes.scss +72 -0
  89. package/scss/variables/_color_tone.scss +39 -0
  90. package/scss/variables/_hulp.scss +108 -0
  91. package/scss/variables/_mixins.scss +40 -0
  92. package/scss/variables/_modifiers.scss +32 -0
  93. package/scss/variables/_variables.scss +302 -0
  94. package/scss/variables/_variables_colors_html.scss +2019 -0
  95. package/scss/variables/_variables_colors_omnia.scss +465 -0
  96. package/scss/variables/_variables_colors_ral.scss +3472 -0
  97. package/scss/variables/_variables_effects.scss +109 -0
  98. package/scss/variables/_variables_flex_grid.scss +427 -0
  99. package/scss/variables/_variables_layout.scss +591 -0
  100. package/scss/variables/_variables_typography.scss +550 -0
  101. package/src/engine.mjs +258 -0
  102. package/src/postcss.mjs +43 -0
  103. package/src/starter-classes.mjs +124 -0
  104. package/src/tokens.mjs +377 -0
  105. package/src/variants.mjs +278 -0
  106. package/tokens/semantic.json +80 -0
@@ -0,0 +1,861 @@
1
+ // SCSS Document
2
+ // File: src/utilities/_alignment.scss
3
+ // Description: CSS Alignment properties
4
+ // Copyright: 2021-2022 Birdycom
5
+ // Autor: Serge Cools
6
+ // Version: 0.2.0
7
+ // Framework: OmniaCSS
8
+ // Properties: align-content, align-items, align-self, justify-content, justify-items, justify-self
9
+ // Values: flex-start, flex-end, center, space-between, space-around, space-evenly, stretch, baseline
10
+
11
+ @use '../utilities/' as *;
12
+
13
+ /* The Alignment properties */
14
+
15
+ // The justify-content property
16
+
17
+ ///
18
+ /// The justify-content property aligns the flexible container's items when the items do not use all available space on the main-axis (horizontally).
19
+ /// Tip: Use the align-items property to align the items vertically.
20
+ /// @group justifycontent
21
+ /// @name justifycontent
22
+ /// @link src/scss/utilities/_alignment.scss
23
+ /// @since 1.0.0
24
+ /// @author Serge Cools
25
+ ///
26
+ /// applies to: flex elements
27
+ /// @require $justifycontent
28
+ ///
29
+ /// @example scss - justify-content class
30
+ /// @each $justifycontent-prop, $justifycontent-value in $justifycontent {
31
+ /// .justify-#{$justifycontent-prop} {
32
+ /// justify-content: $justifycontent-value;
33
+ /// }
34
+ /// }
35
+ /// @example html - use justify-content class
36
+ /// <p class="font-1.5">The interactive example below demonstrates some of the values using Flex Layout and Grid layout.</p>
37
+ /// <p class="font-1.5">Flex Layout.</p>
38
+ /// <p><code>class: "justify-<span id="classnameflex">between</span>" = justify-content:
39
+ /// <select id="justifyContent">
40
+ /// <option value="center">center</option>
41
+ /// <option value="start">start</option>
42
+ /// <option value="end">end</option>
43
+ /// <option value="flex-start">flex-start</option>
44
+ /// <option value="flex-end">flex-end</option>
45
+ /// <option value="left">left</option>
46
+ /// <option value="right">right</option>
47
+ /// <option value="normal">normal</option>
48
+ /// <option value="between" selected="">space-between</option>
49
+ /// <option value="around">space-around</option>
50
+ /// <option value="evenly">space-evenly</option>
51
+ /// <option value="stretch">stretch</option>
52
+ /// <option value="center-safe">safe center</option>
53
+ /// <option value="center-unsafe">unsafe center</option>
54
+ /// </select>
55
+ /// </code></p>
56
+ /// <div id="containerflex" class="flex gap-0.6 mt-1 mb-1.5 w-25 ml-auto mr-auto bg-antiquewhite justify-between">
57
+ /// <div class="box">box 1</div>
58
+ /// <div class="box">box 2</div>
59
+ /// <div class="box">box 3</div>
60
+ /// </div>
61
+ /// <p class="font-1.5">Grid Layout.</p>
62
+ /// <p><code>class: "justify-<span id="classnamegrid">between</span>" = justify-content: <span id="selection">space-between</span></code></p>
63
+ /// <p><code>extra css settings for grid: style="grid-template-columns: 100px 100px;" </code></p>
64
+ /// <div id="containergrid" class="grid gap-0.6 mt-1 mb-1.5 w-25 ml-auto mr-auto bg-antiquewhite justify-between" style="grid-template-columns: 100px 100px;">
65
+ /// <div class="box">box 1</div>
66
+ /// <div class="box">box 2</div>
67
+ /// <div class="box">box 3</div>
68
+ /// </div>
69
+ /// <script>
70
+ /// const justifyContent = document.getElementById("justifyContent");
71
+ /// justifyContent.addEventListener("change", (evt) => {
72
+ /// var elementflex = document.getElementById("containerflex");
73
+ /// var elementgrid = document.getElementById("containergrid");
74
+ /// var classNameflex = document.getElementById("classnameflex");
75
+ /// var classNamegrid = document.getElementById("classnamegrid");
76
+ /// var selection = document.getElementById("selection");
77
+ /// var target = evt.target.selectedIndex;
78
+ ///
79
+ /// elementflex.classList.remove("justify-"+ classNameflex.textContent );
80
+ /// elementgrid.classList.remove("justify-"+ classNamegrid.textContent );
81
+ /// classNameflex.textContent = evt.target.value;
82
+ /// classNamegrid.textContent = evt.target.value;
83
+ /// selection.textContent = evt.target.options[target].text;
84
+ /// elementflex.classList.add("justify-" + evt.target.value);
85
+ /// elementgrid.classList.add("justify-" + evt.target.value);
86
+ /// });
87
+ /// </script>
88
+ @each $justifycontent-prop, $justifycontent-value in $justifycontent {
89
+
90
+ .justify-#{$justifycontent-prop} {
91
+
92
+ justify-content: $justifycontent-value;
93
+
94
+ }
95
+ }
96
+
97
+ // The justify-items property
98
+
99
+ ///
100
+ /// The justify-items property specifies the default alignment for items inside the flexible container.
101
+ /// Tip: Use the justify-self property of each item to override the justify-items property.main-axis (horizontally).
102
+ /// @group justifyitems
103
+ /// @name justifyitems
104
+ /// @link src/scss/utilities/_alignment.scss
105
+ /// @since 1.0.0
106
+ /// @author Serge Cools
107
+ ///
108
+ /// applies to: all elements
109
+ ///
110
+ /// @require {variable} $justifyitems
111
+ /// @example scss - justify-items class
112
+ /// @each $justifyitems-prop, $justifyitems-value in $justifyitems {
113
+ /// .justify-items-#{$justifyitems-prop} {
114
+ /// justify-items: $justifyitems-value;
115
+ /// }
116
+ /// }
117
+ /// @example html - use justify-items class
118
+ /// <p class="font-1.5">The interactive example below demonstrates some of the values using Grid layout.</p>
119
+ /// <p class="font-1.5">Grid Layout.</p>
120
+ /// <p><code>class: "justify-items-<span id="classname">baseline</span>" = justify-items:
121
+ /// <select id="justifyItems">
122
+ /// <option value="normal">normal</option>
123
+ /// <option value="stretch">stretch</option>
124
+ /// <option value="center">center</option>
125
+ /// <option value="start">start</option>
126
+ /// <option value="end">end</option>
127
+ /// <option value="self-start">self-start</option>
128
+ /// <option value="self-end">self-end</option>
129
+ /// <option value="left">left</option>
130
+ /// <option value="right">right</option>
131
+ /// <option value="baseline" selected="">baseline</option>
132
+ /// <option value="baseline-first">first baseline</option>
133
+ /// <option value="baseline-last">last baseline</option>
134
+ /// <option value="center-safe">safe center</option>
135
+ /// <option value="center-unsafe">unsafe center</option>
136
+ /// <option value="legacy-left">legacy left</option>
137
+ /// <option value="legacy-right">legacy right</option>
138
+ /// <option value="legacy-center">legacy center</option>
139
+ /// </select>
140
+ /// </code></p>
141
+ /// <p><code>extra css settings for grid: style="grid-template-columns: 1fr 1fr;" </code></p>
142
+ /// <div id="containergrid" class="grid gap-0.6 mt-1 mb-1.5 w-25 ml-auto mr-auto bg-antiquewhite justify-items-baseline" style="grid-template-columns: 1fr 1fr; ">
143
+ /// <div class="box">box 1</div>
144
+ /// <div class="box">box 2</div>
145
+ /// <div class="box">box 3</div>
146
+ /// </div>
147
+ /// <script>
148
+ /// const justifyItems = document.getElementById("justifyItems");
149
+ /// justifyItems.addEventListener("change", (evt) => {
150
+ /// var element = document.getElementById("containergrid");
151
+ /// var className = document.getElementById("classname");
152
+ ///
153
+ /// element.classList.remove("justify-items-"+ className.textContent );
154
+ /// className.textContent = evt.target.value;
155
+ /// element.classList.add("justify-items-" + evt.target.value);
156
+ /// });
157
+ /// </script>
158
+ @each $justifyitems-prop, $justifyitems-value in $justifyitems {
159
+
160
+ .justify-items-#{$justifyitems-prop} {
161
+
162
+ justify-items: $justifyitems-value;
163
+
164
+ }
165
+ }
166
+
167
+ // The justify-self property
168
+
169
+ ///
170
+ /// The justify-self property specifies the alignment for the selected item inside the flexible container.
171
+ /// Note: The justify-self property overrides the flexible container's justify-items property.
172
+ /// @group justifyself
173
+ /// @name justifyself
174
+ /// @link src/scss/utilities/_alignment.scss
175
+ /// @since 1.0.0
176
+ /// @author Serge Cools
177
+ ///
178
+ /// applies to: block-level boxes, absolutely-positioned boxes, and grid items
179
+ ///
180
+ /// @require {variable} $justifyself
181
+ /// @example scss - justify-items class
182
+ /// @each $justifyself-prop, $justifyself-value in $justifyself {
183
+ /// .justify-self-#{$justifyself-prop} {
184
+ /// justify-self: $justifyself-value;
185
+ /// }
186
+ /// }
187
+ /// @example html - use justify-self class
188
+ /// <p class="font-1.5">The interactive example below demonstrates some of the values using Grid layout.</p>
189
+ /// <p class="font-1.5">Grid Layout.</p>
190
+ /// <p><code>class: "justify-self-<span id="classname">baseline</span>" = justify-self:
191
+ /// <select id="justifySelf">
192
+ /// <option value="auto">auto</option>
193
+ /// <option value="normal">normal</option>
194
+ /// <option value="stretch">stretch</option>
195
+ /// <option value="center">center</option>
196
+ /// <option value="start">start</option>
197
+ /// <option value="end">end</option>
198
+ /// <option value="self-start">self-start</option>
199
+ /// <option value="self-end">self-end</option>
200
+ /// <option value="left">left</option>
201
+ /// <option value="right">right</option>
202
+ /// <option value="baseline" selected="">baseline</option>
203
+ /// <option value="baseline-first">first baseline</option>
204
+ /// <option value="baseline-last">last baseline</option>
205
+ /// <option value="center-safe">safe center</option>
206
+ /// <option value="center-unsafe">unsafe center</option>
207
+ /// </select>
208
+ /// </code></p>
209
+ /// <p><code>extra css settings for grid: style="grid-template-columns: 1fr 1fr;" </code></p>
210
+ /// <div class="grid gap-0.6 mt-1 mb-1.5 w-25 ml-auto mr-auto bg-antiquewhite " style="grid-template-columns: 1fr 1fr; ">
211
+ /// <div id="containergrid" class="box justify-self-baseline">box 1</div>
212
+ /// <div class="box">box 2</div>
213
+ /// <div class="box">box 3</div>
214
+ /// </div>
215
+ /// <script>
216
+ /// const justifySelf = document.getElementById("justifySelf");
217
+ /// justifySelf.addEventListener("change", (evt) => {
218
+ /// var element = document.getElementById("containergrid");
219
+ /// var className = document.getElementById("classname");
220
+ ///
221
+ /// element.classList.remove("justify-self-"+ className.textContent );
222
+ /// className.textContent = evt.target.value;
223
+ /// element.classList.add("justify-self-" + evt.target.value);
224
+ /// });
225
+ /// </script>
226
+ @each $justifyself-prop, $justifyself-value in $justifyself {
227
+
228
+ .justify-self-#{$justifyself-prop} {
229
+
230
+ justify-self: $justifyself-value;
231
+
232
+ }
233
+ }
234
+
235
+ // The align-content property
236
+
237
+ ///
238
+ /// The align-content property modifies the behavior of the flex-wrap property. It is similar to align-items, but instead of aligning flex items, it aligns flex lines.
239
+ /// Note: There must be multiple lines of items for this property to have any effect!
240
+ /// Tip: Use the justify-content property to align the items on the main-axis (horizontally).
241
+ /// @group aligncontent
242
+ /// @name aligncontent
243
+ /// @link src/scss/utilities/_alignment.scss
244
+ /// @since 1.0.0
245
+ /// @author Serge Cools
246
+ ///
247
+ /// applies to: multi-line flex containers
248
+ ///
249
+ /// @require {variable} $aligncontent
250
+ /// @example scss - align-content class
251
+ /// @each $aligncontent-prop, $aligncontent-value in $aligncontent {
252
+ /// #{".align-#{$aligncontent-prop}"} {
253
+ /// align-content: $aligncontent-value;
254
+ /// }
255
+ /// }
256
+ /// @example html - use align-content class
257
+ /// <p class="font-1.5">The interactive example below demonstrates some of the values using Flex or Grid layout.</p>
258
+ /// <p class="font-1.5 mb-1 "><span id="title" class="capitalize" >Flex</span> Layout.</p>
259
+ /// <p><code>class: "<span id="classdisplay">flex</span>" = display:
260
+ /// <select id="display">
261
+ /// <option value="flex" selected="">flex</option>
262
+ /// <option value="grid">grid</option>
263
+ /// </select>
264
+ /// </code></p>
265
+ /// <p><code>class: "align-<span id="classname">center</span>" = align-content:
266
+ /// <select id="aligncontent">
267
+ /// <option value="center" selected="">center</option>
268
+ /// <option value="start">start</option>
269
+ /// <option value="end">end</option>
270
+ /// <option value="flex-start">flex-start</option>
271
+ /// <option value="flex-end">flex-end</option>
272
+ /// <option value="normal">normal</option>
273
+ /// <option value="baseline">baseline</option>
274
+ /// <option value="between">space-between</option>
275
+ /// <option value="around">space-around</option>
276
+ /// <option value="evenly">space-evenly</option>
277
+ /// <option value="stretch">stretch</option>
278
+ /// <option value="center-safe">safe center</option>
279
+ /// <option value="center-unsafe">unsafe center</option>
280
+ /// </select>
281
+ /// </code></p>
282
+ /// <p><code>extra css settings for grid: style="grid-template-columns: repeat(auto-fill, 50px);" </code></p>
283
+ /// <div id="containeralign" class="flex wrap gap-0.6 mt-1 mb-1.5 w-15 h-12.5 bg-antiquewhite align-center" >
284
+ /// <div class="p-0.5 w-3.2 flex justify-center align-items-center bg-springgreen" style="min-height: 30px;">1</div>
285
+ /// <div class="p-0.5 w-3.2 flex justify-center align-items-center bg-cornflowerblue" style="min-height: 50px;">2</div>
286
+ /// <div class="p-0.5 w-3.2 flex justify-center align-items-center bg-orangered" style="min-height: 40px;">3</div>
287
+ /// <div class="p-0.5 w-3.2 flex justify-center align-items-center bg-gold" style="min-height: 60px;">4</div>
288
+ /// <div class="p-0.5 w-3.2 flex justify-center align-items-center bg-hotpink" style="min-height: 70px;">5</div>
289
+ /// <div class="p-0.5 w-3.2 flex justify-center align-items-center bg-cyan" style="min-height: 50px;">6</div>///
290
+ /// </div>
291
+ /// <script>
292
+ /// const aligncontent = document.getElementById("aligncontent");
293
+ /// const display = document.getElementById("display");
294
+ /// const containeralign = document.getElementById("containeralign");
295
+ ///
296
+ /// display.addEventListener("change", (evt) => {
297
+ /// const title = document.getElementById("title");
298
+ /// var classdisplay = document.getElementById("classdisplay");
299
+ /// if (evt.target.value == 'grid') {
300
+ /// containeralign.classList.remove(classdisplay.textContent, "wrap" );
301
+ /// containeralign.style.gridTemplateColumns = "";
302
+ /// containeralign.classList.add(evt.target.value );
303
+ /// containeralign.style.gridTemplateColumns = "repeat(auto-fill, 50px)";
304
+ ///
305
+ /// } else {
306
+ ///
307
+ /// containeralign.classList.remove(classdisplay.textContent );
308
+ /// containeralign.style.gridTemplateColumns = "";
309
+ /// containeralign.classList.add(evt.target.value, "wrap" );
310
+ ///
311
+ /// }
312
+ ///
313
+ /// title.textContent = evt.target.value ;
314
+ /// classdisplay.textContent = evt.target.value;
315
+ /// });
316
+ ///
317
+ /// aligncontent.addEventListener("change", (evt) => {
318
+ /// var classname = document.getElementById("classname");
319
+ /// containeralign.classList.remove("align-" + classname.textContent );
320
+ /// classname.textContent = evt.target.value;
321
+ /// containeralign.classList.add("align-"+ evt.target.value );
322
+ /// });
323
+ /// </script>
324
+ @each $aligncontent-prop, $aligncontent-value in $aligncontent {
325
+
326
+ #{".align-#{$aligncontent-prop}"} {
327
+
328
+ align-content: $aligncontent-value;
329
+
330
+ }
331
+ }
332
+
333
+ // The align-items property
334
+
335
+ ///
336
+ /// The align-items property specifies the default alignment for items inside the flexible container.
337
+ /// Tip: Use the align-self property of each item to override the align-items property.main-axis (horizontally).
338
+ /// @group alignitems
339
+ /// @name alignitems
340
+ /// @link src/scss/utilities/_alignment.scss
341
+ /// @since 1.0.0
342
+ /// @author Serge Cools
343
+ ///
344
+ /// applies to: all elements
345
+ /// @require {variable} $alignitems
346
+ ///
347
+ ///
348
+ /// @example scss - align-items class
349
+ /// @each $alignitems-prop, $alignitems-value in $alignitems {
350
+ /// .align-items-#{$alignitems-prop} {
351
+ /// align-items: $alignitems-value;
352
+ /// }
353
+ /// }
354
+ /// @example html - use align-items class
355
+ /// <p class="font-1.5">The interactive example below demonstrates some of the values using Flex or Grid layout.</p>
356
+ /// <p class="font-1.5 mb-1 "><span id="title" class="capitalize" >Flex</span> Layout.</p>
357
+ /// <p><code>class: "<span id="classdisplay">flex</span>" = display:
358
+ /// <select id="display">
359
+ /// <option value="flex" selected="">flex</option>
360
+ /// <option value="grid">grid</option>
361
+ /// </select>
362
+ /// </code></p>
363
+ /// <p><code>class: "align-items-<span id="classname">center</span>" = align-items:
364
+ /// <select id="aligncontent">
365
+ /// <option value="center" selected="">center</option>
366
+ /// <option value="start">start</option>
367
+ /// <option value="end">end</option>
368
+ /// <option value="flex-start">flex-start</option>
369
+ /// <option value="flex-end">flex-end</option>
370
+ /// <option value="normal">normal</option>
371
+ /// <option value="baseline">baseline</option>
372
+ /// <option value="baseline-first">first baseline</option>
373
+ /// <option value="baseline-last">last baseline</option>
374
+ /// <option value="self-start">self-start</option>
375
+ /// <option value="self-end">self-end</option>
376
+ /// <option value="stretch">stretch</option>
377
+ /// <option value="center-safe">safe center</option>
378
+ /// <option value="center-unsafe">unsafe center</option>
379
+ /// </select>
380
+ /// </code></p>
381
+ /// <p><code>extra css settings for grid: style="grid-template-columns: repeat(auto-fill, 50px);" </code></p>
382
+ /// <div id="containeralign" class="flex wrap gap-0.6 mt-1 mb-1.5 w-15 h-12.5 bg-antiquewhite align-items-center" >
383
+ /// <div class="p-0.5 w-3.2 flex justify-center align-items-center bg-springgreen" style="min-height: 30px;">1</div>
384
+ /// <div class="p-0.5 w-3.2 flex justify-center align-items-center bg-cornflowerblue" style="min-height: 50px;">2</div>
385
+ /// <div class="p-0.5 w-3.2 flex justify-center align-items-center bg-orangered" style="min-height: 40px;">3</div>
386
+ /// <div class="p-0.5 w-3.2 flex justify-center align-items-center bg-gold" style="min-height: 60px;">4</div>
387
+ /// <div class="p-0.5 w-3.2 flex justify-center align-items-center bg-hotpink" style="min-height: 70px;">5</div>
388
+ /// <div class="p-0.5 w-3.2 flex justify-center align-items-center bg-cyan" style="min-height: 50px;">6</div>///
389
+ /// </div>
390
+ /// <script>
391
+ /// const aligncontent = document.getElementById("aligncontent");
392
+ /// const display = document.getElementById("display");
393
+ /// const containeralign = document.getElementById("containeralign");
394
+ ///
395
+ /// display.addEventListener("change", (evt) => {
396
+ /// const title = document.getElementById("title");
397
+ /// var classdisplay = document.getElementById("classdisplay");
398
+ /// if (evt.target.value == 'grid') {
399
+ /// containeralign.classList.remove(classdisplay.textContent, "wrap" );
400
+ /// containeralign.style.gridTemplateColumns = "";
401
+ /// containeralign.classList.add(evt.target.value );
402
+ /// containeralign.style.gridTemplateColumns = "repeat(auto-fill, 50px)";
403
+ ///
404
+ /// } else {
405
+ ///
406
+ /// containeralign.classList.remove(classdisplay.textContent );
407
+ /// containeralign.style.gridTemplateColumns = "";
408
+ /// containeralign.classList.add(evt.target.value, "wrap" );
409
+ ///
410
+ /// }
411
+ ///
412
+ /// title.textContent = evt.target.value ;
413
+ /// classdisplay.textContent = evt.target.value;
414
+ /// });
415
+ ///
416
+ /// aligncontent.addEventListener("change", (evt) => {
417
+ /// var classname = document.getElementById("classname");
418
+ /// containeralign.classList.remove("align-items-" + classname.textContent );
419
+ /// classname.textContent = evt.target.value;
420
+ /// containeralign.classList.add("align-items-"+ evt.target.value );
421
+ /// });
422
+ /// </script>
423
+ @each $alignitems-prop, $alignitems-value in $alignitems {
424
+
425
+ .align-items-#{$alignitems-prop} {
426
+
427
+ align-items: $alignitems-value;
428
+
429
+ }
430
+ }
431
+
432
+ // The align-self property
433
+
434
+ ///
435
+ /// The align-self property specifies the alignment for the selected item inside the flexible container.
436
+ /// Note: The align-self property overrides the flexible container's align-items property.
437
+ /// @group alignself
438
+ /// @name alignself
439
+ /// @link src/scss/utilities/_alignment.scss
440
+ /// @since 1.0.0
441
+ /// @author Serge Cools
442
+ ///
443
+ /// applies to: flex items, grid items, and absolutely-positioned boxes
444
+ ///
445
+ /// @require {variable} $alignself
446
+ /// @example scss - align-items class
447
+ /// @each $alignself-prop, $alignself-value in $alignself {
448
+ /// .align-self-#{$alignself-prop} {
449
+ /// align-self: $alignself-value;
450
+ /// }
451
+ /// }
452
+ /// @example html - use align-self class
453
+ /// <p class="font-1.5">The interactive example below demonstrates some of the values using Flex or Grid layout.</p>
454
+ /// <p class="font-1.5 mb-1 "><span id="title" class="capitalize" >Flex</span> Layout.</p>
455
+ /// <p><code>class: "<span id="classdisplay">flex</span>" = display:
456
+ /// <select id="display">
457
+ /// <option value="flex" selected="">flex</option>
458
+ /// <option value="grid">grid</option>
459
+ /// </select>
460
+ /// </code></p>
461
+ /// <p><code>class: "align-items-<span id="classname">center</span>" = align-items:
462
+ /// <select id="aligncontent">
463
+ /// <option value="center" selected="">center</option>
464
+ /// <option value="start">start</option>
465
+ /// <option value="end">end</option>
466
+ /// <option value="flex-start">flex-start</option>
467
+ /// <option value="flex-end">flex-end</option>
468
+ /// <option value="normal">normal</option>
469
+ /// <option value="baseline">baseline</option>
470
+ /// <option value="baseline-first">first baseline</option>
471
+ /// <option value="baseline-last">last baseline</option>
472
+ /// <option value="self-start">self-start</option>
473
+ /// <option value="self-end">self-end</option>
474
+ /// <option value="stretch">stretch</option>
475
+ /// <option value="center-safe">safe center</option>
476
+ /// <option value="center-unsafe">unsafe center</option>
477
+ /// </select>
478
+ /// </code></p>
479
+ /// <p><code>class: "align-self-<span id="classalignself">baseline</span>" = align-self:
480
+ /// <select id="alignSelf">
481
+ /// <option value="auto">auto</option>
482
+ /// <option value="normal">normal</option>
483
+ /// <option value="stretch">stretch</option>
484
+ /// <option value="center">center</option>
485
+ /// <option value="start">start</option>
486
+ /// <option value="end">end</option>
487
+ /// <option value="self-start">self-start</option>
488
+ /// <option value="self-end">self-end</option>
489
+ /// <option value="left">left</option>
490
+ /// <option value="right">right</option>
491
+ /// <option value="baseline" selected="">baseline</option>
492
+ /// <option value="baseline-first">first baseline</option>
493
+ /// <option value="baseline-last">last baseline</option>
494
+ /// <option value="center-safe">safe center</option>
495
+ /// <option value="center-unsafe">unsafe center</option>
496
+ /// </select>
497
+ /// </code></p>
498
+ /// <p><code>extra css settings for grid: style="grid-template-columns: repeat(auto-fill, 50px);" </code></p>
499
+ /// <div id="containeralign" class="flex wrap gap-0.6 mt-1 mb-1.5 w-15 h-12.5 bg-antiquewhite align-items-center" >
500
+ /// <div class="p-0.5 w-3.2 flex justify-center align-items-center bg-springgreen" style="min-height: 30px;">1</div>
501
+ /// <div id="boxalignself" class="p-0.5 w-3.2 flex justify-center align-items-center bg-cornflowerblue align-self-center" style="min-height: 50px;">2</div>
502
+ /// <div class="p-0.5 w-3.2 flex justify-center align-items-center bg-orangered" style="min-height: 40px;">3</div>
503
+ /// <div class="p-0.5 w-3.2 flex justify-center align-items-center bg-gold" style="min-height: 60px;">4</div>
504
+ /// <div class="p-0.5 w-3.2 flex justify-center align-items-center bg-hotpink" style="min-height: 70px;">5</div>
505
+ /// <div class="p-0.5 w-3.2 flex justify-center align-items-center bg-cyan" style="min-height: 50px;">6</div>///
506
+ /// </div>
507
+ /// <script>
508
+ /// const aligncontent = document.getElementById("aligncontent");
509
+ /// const display = document.getElementById("display");
510
+ /// const containeralign = document.getElementById("containeralign");
511
+ ///
512
+ /// display.addEventListener("change", (evt) => {
513
+ /// const title = document.getElementById("title");
514
+ /// var classdisplay = document.getElementById("classdisplay");
515
+ /// if (evt.target.value == 'grid') {
516
+ /// containeralign.classList.remove(classdisplay.textContent, "wrap" );
517
+ /// containeralign.style.gridTemplateColumns = "";
518
+ /// containeralign.classList.add(evt.target.value );
519
+ /// containeralign.style.gridTemplateColumns = "repeat(auto-fill, 50px)";
520
+ ///
521
+ /// } else {
522
+ ///
523
+ /// containeralign.classList.remove(classdisplay.textContent );
524
+ /// containeralign.style.gridTemplateColumns = "";
525
+ /// containeralign.classList.add(evt.target.value, "wrap" );
526
+ ///
527
+ /// }
528
+ ///
529
+ /// title.textContent = evt.target.value ;
530
+ /// classdisplay.textContent = evt.target.value;
531
+ /// });
532
+ ///
533
+ /// aligncontent.addEventListener("change", (evt) => {
534
+ /// var classname = document.getElementById("classname");
535
+ /// containeralign.classList.remove("align-items-" + classname.textContent );
536
+ /// classname.textContent = evt.target.value;
537
+ /// containeralign.classList.add("align-items-"+ evt.target.value );
538
+ /// });
539
+ /// const alignSelf = document.getElementById("alignSelf");
540
+ /// alignSelf.addEventListener("change", (evt) => {
541
+ /// var element = document.getElementById("boxalignself");
542
+ /// var classalignself = document.getElementById("classalignself");
543
+ ///
544
+ /// element.classList.remove("align-self-"+ classalignself.textContent );
545
+ /// classalignself.textContent = evt.target.value;
546
+ /// element.classList.add("align-self-" + evt.target.value);
547
+ /// });
548
+ /// </script>
549
+ @each $alignself-prop, $alignself-value in $alignself {
550
+
551
+ .align-self-#{$alignself-prop} {
552
+
553
+ align-self: $alignself-value;
554
+
555
+ }
556
+ }
557
+ /* End align-self property */
558
+
559
+ /* start place property */
560
+
561
+ /* place-content property */
562
+ // The place-content property
563
+
564
+ ///
565
+ /// The place-content property specifies the alignment for the selected item inside the flexible container.
566
+ /// Note: The place-content property overrides the flexible container's align-items property.
567
+ /// @group placecontent
568
+ /// @name placecontent
569
+ /// @link src/scss/utilities/_alignment.scss
570
+ /// @since 1.0.0
571
+ /// @author Serge Cools
572
+ ///
573
+ /// applies to: flex items, grid items, and absolutely-positioned boxes
574
+ ///
575
+ /// @require {variable} $placecontent
576
+ /// @example scss - place-content class
577
+ /// @each $placecontent-prop, $placecontent-value in $placecontent {
578
+ /// .place-#{$placecontent-prop} {
579
+ /// place-content: $placecontent-value;
580
+ /// }
581
+ /// }
582
+ /// @example html - use space-content class
583
+ /// <p class="font-1.5">The interactive example below demonstrates some of the values using Flex or Grid layout.</p>
584
+ /// <p class="font-1.5 mb-1 "><span id="title" class="capitalize" >Flex</span> Layout.</p>
585
+ /// <p><code>class: "<span id="classdisplay">flex</span>" = display:
586
+ /// <select id="display">
587
+ /// <option value="flex" selected="">flex</option>
588
+ /// <option value="grid">grid</option>
589
+ /// </select>
590
+ /// </code></p>
591
+ /// <p><code>class: "space-<span id="classname">center</span>" = space-content:
592
+ /// <select id="aligncontent">
593
+ /// <option value="center" selected="">center</option>
594
+ /// <option value="start">start</option>
595
+ /// <option value="end">end</option>
596
+ /// <option value="baseline">baseline</option>
597
+ /// <option value="between">space-between</option>
598
+ /// <option value="around">space-around</option>
599
+ /// <option value="evenly">space-evenly</option>
600
+ /// <option value="stretch">stretch</option>
601
+ /// <option value="center-start">center start</option>
602
+ /// <option value="start-center">start center</option>
603
+ /// <option value="end-left">end left</option>
604
+ /// <option value="flex-start-center">flex-start center</option>
605
+ /// <option value="flex-end-center">flex-end center</option>
606
+ /// <option value="baseline-center">baseline center</option>
607
+ /// <option value="baseline-right">baseline right</option>
608
+ /// <option value="between-evenly">space-between space-evenly</option>
609
+ /// <option value="around-evenly">space-around space-evenly</option>
610
+ /// <option value="evenly-stretch">space-evenly stretch</option>
611
+ /// <option value="stretch-evenly">stretch space-evenly</option>
612
+ /// </select>
613
+ /// </code></p>
614
+ /// <p><code>extra css settings for grid: style="grid-template-columns: repeat(2,56px);" </code></p>
615
+ /// <div class="font-bold text-white lineheight-1.5 font-0.8 mt-1 mb-1.5 bg-stripes-sky w-25">
616
+ /// <div id="containeralign" class="flex wrap gap-1 h-12.5 place-center" >
617
+ /// <div class="p-1 flex justify-center align-items-center bg-dodgerblue" style="min-height: 32px;">1</div>
618
+ /// <div class="p-1 flex justify-center align-items-center bg-dodgerblue" style="min-height: 32px;">2</div>
619
+ /// <div class="p-1 flex justify-center align-items-center bg-dodgerblue" style="min-height: 32px;">3</div>
620
+ /// <div class="p-1 flex justify-center align-items-center bg-dodgerblue" style="min-height: 32px;">4</div>
621
+ /// </div>
622
+ /// </div>
623
+ /// <script>
624
+ /// const aligncontent = document.getElementById("aligncontent");
625
+ /// const display = document.getElementById("display");
626
+ /// const containeralign = document.getElementById("containeralign");
627
+ ///
628
+ /// display.addEventListener("change", (evt) => {
629
+ /// const title = document.getElementById("title");
630
+ /// var classdisplay = document.getElementById("classdisplay");
631
+ /// if (evt.target.value == 'grid') {
632
+ /// containeralign.classList.remove(classdisplay.textContent, "wrap" );
633
+ /// containeralign.style.gridTemplateColumns = "";
634
+ /// containeralign.classList.add(evt.target.value );
635
+ /// containeralign.style.gridTemplateColumns = "repeat(2,56px)";
636
+ ///
637
+ /// } else {
638
+ ///
639
+ /// containeralign.classList.remove(classdisplay.textContent );
640
+ /// containeralign.style.gridTemplateColumns = "";
641
+ /// containeralign.classList.add(evt.target.value, "wrap" );
642
+ ///
643
+ /// }
644
+ ///
645
+ /// title.textContent = evt.target.value ;
646
+ /// classdisplay.textContent = evt.target.value;
647
+ /// });
648
+ ///
649
+ /// aligncontent.addEventListener("change", (evt) => {
650
+ /// var classname = document.getElementById("classname");
651
+ /// containeralign.classList.remove("place-" + classname.textContent );
652
+ /// classname.textContent = evt.target.value;
653
+ /// containeralign.classList.add("place-"+ evt.target.value );
654
+ /// });
655
+ /// </script>
656
+ /// html body {
657
+ /// box-shadow: 1px 0px 0px rgba(0, 170, 255, 0.3), -1px 0px 0px rgba(0, 170, 255, 0.3);
658
+ /// }
659
+ @each $placecontent-prop, $placecontent-value in $placecontent {
660
+
661
+ .place-#{$placecontent-prop} {
662
+
663
+ place-content: $placecontent-value;
664
+
665
+ }
666
+ }
667
+ /* End place-content property */
668
+
669
+ /* place-items property */
670
+ // The place-items property
671
+
672
+ ///
673
+ /// The place-items property specifies the alignment for the selected item inside the flexible container.
674
+ /// Note: The place-items property overrides the flexible container's align-items property.
675
+ /// @group placeitems
676
+ /// @name placeitems
677
+ ///
678
+ /// @link src/scss/utilities/_alignment.scss
679
+ /// @since 1.0.0
680
+ /// @author Serge Cools
681
+ ///
682
+ /// applies to: flex items, grid items, and absolutely-positioned boxes
683
+ ///
684
+ /// @require {variable} $placeitems
685
+ /// @example scss - place-items class
686
+ /// @each $placeitems-prop, $placeitems-value in $placeitems {
687
+ /// .place-items-#{$placeitems-prop} {
688
+ /// place-items: $placeitems-value;
689
+ /// }
690
+ /// }
691
+ /// @example html - use space-content class
692
+ /// <p class="font-1.5">The interactive example below demonstrates some of the values using Flex or Grid layout.</p>
693
+ /// <p class="font-1.5 mb-1 "><span id="title" class="capitalize" >Flex</span> Layout.</p>
694
+ /// <p><code>class: "<span id="classdisplay">flex</span>" = display:
695
+ /// <select id="display">
696
+ /// <option value="flex" selected="">flex</option>
697
+ /// <option value="grid">grid</option>
698
+ /// </select>
699
+ /// </code></p>
700
+ /// <p><code>class: "space-items-<span id="classname">auto</span>" = space-items:
701
+ /// <select id="aligncontent">
702
+ /// <option value="auto" selected="">auto</option>
703
+ /// <option value="start">start</option>
704
+ /// <option value="end">end</option>
705
+ /// <option value="center">center</option>
706
+ /// <option value="stretch">stretch</option>
707
+ /// </select>
708
+ /// </code></p>
709
+ /// <p><code>extra css settings for grid: style="grid-template-columns: repeat(2,56px);" </code></p>
710
+ /// <div class="font-bold text-white lineheight-1.5 font-0.8 m-1.5 bg-stripes-sky w-auto h-25">
711
+ /// <div id="containeralign" class="grid grid-cols-3 gap-1 place-items-stretch font-bold font-0.7" >
712
+ /// <div class="p-1 flex justify-center align-items-center bg-lightskyblue" >1</div>
713
+ /// <div class="p-1 flex justify-center align-items-center bg-lightskyblue" >2</div>
714
+ /// <div class="p-1 flex justify-center align-items-center bg-lightskyblue" >3</div>
715
+ /// <div class="p-1 flex justify-center align-items-center bg-lightskyblue" >4</div>
716
+ /// <div class="p-1 flex justify-center align-items-center bg-lightskyblue" >5</div>
717
+ /// <div class="p-1 flex justify-center align-items-center bg-lightskyblue" >6</div>
718
+ /// </div>
719
+ /// </div>
720
+ /// <script>
721
+ /// const aligncontent = document.getElementById("aligncontent");
722
+ /// const display = document.getElementById("display");
723
+ /// const containeralign = document.getElementById("containeralign");
724
+ ///
725
+ /// display.addEventListener("change", (evt) => {
726
+ /// const title = document.getElementById("title");
727
+ /// var classdisplay = document.getElementById("classdisplay");
728
+ /// if (evt.target.value == 'grid') {
729
+ /// containeralign.classList.remove(classdisplay.textContent, "wrap" );
730
+ /// containeralign.style.gridTemplateColumns = "";
731
+ /// containeralign.classList.add(evt.target.value );
732
+ /// containeralign.style.gridTemplateColumns = "repeat(2,56px)";
733
+ ///
734
+ /// } else {
735
+ ///
736
+ /// containeralign.classList.remove(classdisplay.textContent );
737
+ /// containeralign.style.gridTemplateColumns = "";
738
+ /// containeralign.classList.add(evt.target.value, "wrap" );
739
+ ///
740
+ /// }
741
+ ///
742
+ /// title.textContent = evt.target.value ;
743
+ /// classdisplay.textContent = evt.target.value;
744
+ /// });
745
+ ///
746
+ /// aligncontent.addEventListener("change", (evt) => {
747
+ /// var classname = document.getElementById("classname");
748
+ /// containeralign.classList.remove("place-items" + classname.textContent );
749
+ /// classname.textContent = evt.target.value;
750
+ /// containeralign.classList.add("place-items"+ evt.target.value );
751
+ /// });
752
+ /// </script>
753
+ /// html body {
754
+ /// box-shadow: 1px 0px 0px rgba(0, 170, 255, 0.3), -1px 0px 0px rgba(0, 170, 255, 0.3);
755
+ /// }
756
+ @each $placeitems-prop, $placeitems-value in $placeitems {
757
+
758
+ .place-items-#{$placeitems-prop} {
759
+
760
+ place-items: $placeitems-value;
761
+
762
+ }
763
+ }
764
+ /* End place-items property */
765
+
766
+ /* place-self property */
767
+ // The place-self property
768
+
769
+ ///
770
+ /// The place-content property specifies the alignment for the selected item inside the flexible container.
771
+ /// Note: The place-content property overrides the flexible container's align-items property.
772
+ /// @group placeself
773
+ /// @name placecself
774
+ ///
775
+ /// @link src/scss/utilities/_alignment.scss
776
+ /// @since 1.0.0
777
+ /// @author Serge Cools
778
+ ///
779
+ /// applies to: flex items, grid items, and absolutely-positioned boxes
780
+ ///
781
+ /// @require {variable} $placeself
782
+ /// @example scss - place-self class
783
+ /// @each $placeself-prop, $placeself-value in $placeself {
784
+ /// .place-self-#{$placeself-prop} {
785
+ /// place-self: $placeself-value;
786
+ /// }
787
+ /// }
788
+ /// @example html - use space-self class
789
+ /// <p class="font-1.5">The interactive example below demonstrates some of the values using Flex or Grid layout.</p>
790
+ /// <p class="font-1.5 mb-1 "><span id="title" class="capitalize" >Flex</span> Layout.</p>
791
+ /// <p><code>class: "<span id="classdisplay">flex</span>" = display:
792
+ /// <select id="display">
793
+ /// <option value="flex" selected="">flex</option>
794
+ /// <option value="grid">grid</option>
795
+ /// </select>
796
+ /// </code></p>
797
+ /// <p><code>class: "space-self-<span id="classname">auto</span>" = space-self:
798
+ /// <select id="aligncontent">
799
+ /// <option value="auto" selected="">auto</option>
800
+ /// <option value="start">start</option>
801
+ /// <option value="end">end</option>
802
+ /// <option value="center">center</option>
803
+ /// <option value="stretch">stretch</option>
804
+ /// </select>
805
+ /// </code></p>
806
+ /// <p><code>extra css settings for grid: style="grid-template-columns: repeat(3,minmax(0,1fr));" </code></p>
807
+ /// <div class="font-bold text-white lineheight-1.5 font-0.8 m-1.5 bg-stripes-sky w-auto h-25">
808
+ /// <div class="grid grid-cols-3 gap-1 place-items-stretch font-bold font-0.7" >
809
+ /// <div class="p-1 flex justify-center align-items-center bg-lightskyblue" >1</div>
810
+ /// <div id="containeralign" class="p-1 flex justify-center align-items-center bg-dodgerblue place-self-auto" >2</div>
811
+ /// <div class="p-1 flex justify-center align-items-center bg-lightskyblue" >3</div>
812
+ /// <div class="p-1 flex justify-center align-items-center bg-lightskyblue" >4</div>
813
+ /// <div class="p-1 flex justify-center align-items-center bg-lightskyblue" >5</div>
814
+ /// <div class="p-1 flex justify-center align-items-center bg-lightskyblue" >6</div>
815
+ /// </div>
816
+ /// </div>
817
+ /// <script>
818
+ /// const aligncontent = document.getElementById("aligncontent");
819
+ /// const display = document.getElementById("display");
820
+ /// const containeralign = document.getElementById("containeralign");
821
+ ///
822
+ /// display.addEventListener("change", (evt) => {
823
+ /// const title = document.getElementById("title");
824
+ /// var classdisplay = document.getElementById("classdisplay");
825
+ /// if (evt.target.value == 'grid') {
826
+ /// containeralign.classList.remove(classdisplay.textContent, "wrap" );
827
+ /// containeralign.style.gridTemplateColumns = "";
828
+ /// /* containeralign.classList.add(evt.target.value );
829
+ /// containeralign.style.gridTemplateColumns = "repeat(3,minmax(0,1fr))";*/
830
+ ///
831
+ /// } else {
832
+ ///
833
+ /// containeralign.classList.remove(classdisplay.textContent );
834
+ /// containeralign.style.gridTemplateColumns = "";
835
+ /// containeralign.classList.add(evt.target.value, "wrap" );
836
+ ///
837
+ /// }
838
+ ///
839
+ /// title.textContent = evt.target.value ;
840
+ /// classdisplay.textContent = evt.target.value;
841
+ /// });
842
+ ///
843
+ /// aligncontent.addEventListener("change", (evt) => {
844
+ /// var classname = document.getElementById("classname");
845
+ /// containeralign.classList.remove("place-self-" + classname.textContent );
846
+ /// classname.textContent = evt.target.value;
847
+ /// containeralign.classList.add("place-self-"+ evt.target.value );
848
+ /// });
849
+ /// </script>
850
+ /// html body {
851
+ /// box-shadow: 1px 0px 0px rgba(0, 170, 255, 0.3), -1px 0px 0px rgba(0, 170, 255, 0.3);
852
+ /// }
853
+ @each $placeself-prop, $placeself-value in $placeself {
854
+
855
+ .place-self-#{$placeself-prop} {
856
+
857
+ place-self: $placeself-value;
858
+
859
+ }
860
+ }
861
+ /* End place-self property */