Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Background color CSS does not get applied #38

Open
@l30c0d35

Description

The transition text has a background color inside a h1 with a transparent background. The transition text's background color is not being affected by setting it to transparent.
How would I set the <TextTransition> background color to be transparent?

<h1 className={styles.heading}>
 Some text ...
 <TextTransition
 className={styles.transitionText}
 text={ areas[index % areas.length] }
 springConfig={ presets.stiff }
 />
 </h1>

CSS

heading {
 background-color: transparent; // is being applied 
 ...
}
.transitionText {
 background-color: transparent; // is not being applied 
 ...
}

btw cool package and easy to use

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /