2.0.2 • Published 10 months ago
@frankhoodbs/bicolor-background-cmp v2.0.2
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
2.0.2
10 months ago
2.0.1
10 months ago
1.2.12
10 months ago
1.2.11
10 months ago
1.2.9
1 year ago
1.2.10
1 year ago
1.2.8
1 year ago
1.2.7
1 year ago
1.2.4
1 year ago
1.2.3
1 year ago
1.2.2
1 year ago
1.2.1
1 year ago
1.2.0
1 year ago
1.1.17
1 year ago
1.1.16
1 year ago
1.1.15
1 year ago
1.1.14
1 year ago
1.1.13
1 year ago
1.1.12
1 year ago
1.1.11
1 year ago
1.1.10
1 year ago
1.1.9
1 year ago
1.1.8
1 year ago
1.1.7
1 year ago
1.1.6
1 year ago
1.1.1
2 years ago
1.1.3
2 years ago
1.1.2
2 years ago
1.0.21
2 years ago
1.0.20
2 years ago
1.0.16
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago