FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Using rgba in CSS · Issue #1775 · NativeScript/NativeScript · GitHub

Using rgba in CSS #1775

Description

This 8 digit hex color works in the NativeScript framework:

.drawer-button {
    background-color: #003751E4;
}
.drawer-button:highlighted {
    background-color: #FF3751E4;
}

However we should support something by CSS specs like:

.drawer-button {
    background-color: rgba(55, 81, 228, 0);
}
.drawer-button:highlighted {
    background-color: rgba(55, 81, 228, 1);
}

However the second throws on button tap:

JS ERROR Error: Invalid value rgba(55, 82, 228, 1) for property backgroundColor

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL