Skip to content

Latest commit

 

History

History
100 lines (89 loc) · 2.86 KB

readme.md

File metadata and controls

100 lines (89 loc) · 2.86 KB

Cta-07

Layout

alt text

Html

You can add whatever you want inside right div ("g--cta-07ft-itemsright-items")

<div class="g--cta-07">
    <div
        class="g--cta-07__bg-items"
        style="background-image: url(/src/img/global-components/bg-placeholder.jpg)"
    ></div>
    <div class="g--cta-07__ft-items">
        <div class="g--cta-07__ft-items__left-items">
            <h2 class="g--cta-07__ft-items__left-items__title">
                CTA-07 Suscribe to Our Newsletter. Lorem Ipsum Dolor Sit Amet.
            </h2>
        </div>
        <div class="g--cta-07__ft-items__right-items">
            <div class="g--card-14 g--card-14--second">
                <h3 class="g--card-14__title">Lorem ipsum</h3>
                <p class="g--card-14__subtitle">
                    Solution description lorem ipsum dolor sit amet consectetur.
                </p>
            </div>
        </div>
    </div>
</div>

Editable variables

  • $background-color
  • $background-position
  • $background-size
  • $border-color
  • $border-radius
  • $border-style
  • $border-width
  • $breakpoint
  • $cta-min-height
  • $hover-background-color
  • $hover-background-img-zoom
  • $hover-border-color
  • $hover-border-radius
  • $hover-mask-color
  • $hover-shadow
  • $hover-title-color
  • $hover-title-underline-color
  • $hover-transform
  • $mask-color
  • $shadow
  • $text-align
  • $title-color
  • $title-font
  • $title-font-weight
  • $title-max-lines

Use

To use it we have to import the css of the $btn-class in the entry

.g--cta-07 {
    @include make-cta-07();
    @include make-cta-07-modifier(
        // $background-color: map-get($color-options, f),
        // $background-position: left top,
        // $background-size: cover,
        // $border-color: map-get($color-options, a),
        // $border-radius: 0,
        // $border-style: solid,
        // $border-width: 1px,
        // $breakpoint: $tablets,
        // $cta-min-height: 500px,
        // $hover-background-color: map-get($color-options, h),
        // $hover-background-img-zoom: 1.2,
        // $hover-border-color: map-get($color-options, f),
        // $hover-border-radius: $measure * 4,
        // $hover-mask-color: rgba(map-get($color-options, a), .5),
        // $hover-shadow: 0 0 $measure * 2 map-get($color-options, h),
        // $hover-title-color: map-get($color-options, c),
        // $hover-title-underline-color: map-get($color-options, h),
        // $hover-transform: translateY(-$measure),
        // $mask-color: rgba(map-get($color-options, a), 0.5),
        // $shadow: 0 0 $measure*2 map-get($color-options, g),
        // $text-align: left,
        // $title-color: map-get($color-options, b),
        // $title-font-weight: 400,
        // $title-font: b,
        // $title-max-lines: 3,
    );
}