Skip to content

Card #4380

@asma-mughal

Description

@asma-mughal

Feature Request

Cards with 0px border Radius.

Problem description

I have an idea related to cards, Cards does not have hover property .

Proposed solution

Cards should have hover property. On hover, we could have change background Color, add shadow property, change border Radius,
change outline color etc.

MVP

Component code:

I am dummy Heading
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecat
Styling: .mainContainer{ background-color:lightcoral; height: 13rem; width: 17rem; align-self: center; margin: 12rem; padding: 10px; border-width: 1px; border-color: lightcoral; border-style: solid; } .mainContainer:hover{ background-color:lightpink; border-radius: 8px; border-color: lightslategray; border-width: 1px; }

.headingContainer{
background-color:transparent;
display: flex;
}
.textContainer{
background-color:transparent;
display: flex;
height: 7.5rem;
}
.textBold{
font-weight: bold;
font-size: 20px;

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions