1.2.8 • Published 1 day ago
@frankhoodbs/bicolor-background-cmp v1.2.8
Bicolor Background component
componente per la generazione contenuti a sfondo bi-color suddiviso orizzontalmente.
component for generating content with a bi-color background divided horizontally.
API Reference
Props
Type definition
type Classes =
| string
| Record<string, boolean>
| (string | Record<string, boolean>)[];
Name | Type | Description |
---|---|---|
data-bootstrap-container-classes | Classes | default is ['container'] . CSS Classes for cotent wrapper. |
data-bootstrap-row-classes | Classes | default is ['row justify-content-center'] . CSS Classes for cotent wrapper's rows. |
data-bootstrap-col-classes | Classes | default is ['col-12 col-md-10'] . CSS Classes for cotent wrapper's rows. |
data-bg-color-wrapper-like-root | boolean | default is false . CSS Classes for cotent wrapper's rows. |
data-background-color | boolean | default is false . CSS Class for the second half of the background. |
CSS variables
Name | default | Description |
---|---|---|
--bicolor-background-first-color-height | 50% | .color-1 , .color-2 used in flex |
--bicolor-background-bg-color | #1c3775 | .color-2 background-color |
--bicolor-background-wrapper-padding | 0 | .wrapper padding |
--bicolor-background-wrapper-border-radius | 0 | .wrapper border-radius |
--bicolor-background-wrapper-bg-color | transparent | .wrapper |
Usage/Examples
<bicolor-background-cmp>
<div class="p-10">
<p>Test</p>
<p>Test</p>
<p>Test</p>
<p>Test</p>
<p>Test</p>
</div>
</bicolor-background-cmp>
Screenshots
1.2.8
1 day ago
1.2.7
1 day ago
1.2.4
2 days ago
1.2.3
6 days ago
1.2.2
19 days ago
1.2.1
22 days ago
1.2.0
23 days ago
1.1.17
23 days ago
1.1.16
2 months ago
1.1.15
2 months ago
1.1.14
2 months ago
1.1.13
2 months ago
1.1.12
3 months ago
1.1.11
3 months ago
1.1.10
4 months ago
1.1.9
4 months ago
1.1.8
4 months ago
1.1.7
4 months ago
1.1.6
4 months ago
1.1.1
4 months ago
1.1.3
4 months ago
1.1.2
4 months ago
1.0.21
7 months ago
1.0.20
7 months ago
1.0.16
7 months ago
1.0.14
7 months ago
1.0.13
7 months ago
1.0.12
8 months ago
1.0.11
8 months ago
1.0.10
8 months ago
1.0.9
8 months ago
1.0.8
8 months ago