1.2.8 • Published 1 day ago

@frankhoodbs/bicolor-background-cmp v1.2.8

Weekly downloads
-
License
ISC
Repository
-
Last release
1 day ago

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.

Version License

API Reference

Props

Type definition

type Classes =
  | string
  | Record<string, boolean>
  | (string | Record<string, boolean>)[];
NameTypeDescription
data-bootstrap-container-classesClassesdefault is ['container']. CSS Classes for cotent wrapper.
data-bootstrap-row-classesClassesdefault is ['row justify-content-center']. CSS Classes for cotent wrapper's rows.
data-bootstrap-col-classesClassesdefault is ['col-12 col-md-10']. CSS Classes for cotent wrapper's rows.
data-bg-color-wrapper-like-rootbooleandefault is false. CSS Classes for cotent wrapper's rows.
data-background-colorbooleandefault is false. CSS Class for the second half of the background.

CSS variables

NamedefaultDescription
--bicolor-background-first-color-height50%.color-1 , .color-2 used in flex
--bicolor-background-bg-color#1c3775.color-2 background-color
--bicolor-background-wrapper-padding0.wrapper padding
--bicolor-background-wrapper-border-radius0.wrapper border-radius
--bicolor-background-wrapper-bg-colortransparent.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

Component Screenshot

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