Skip to content

Commit

Permalink
Update and rename styles.css to style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Rakesh9100 authored Aug 2, 2024
1 parent 0756be0 commit 87f77ee
Showing 1 changed file with 24 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
html, body {
html,
body {
height: 100%;
display: flex;
align-items: center;
justify-content: center;
margin: 0;
background-color: #f0f0f0;
background-color: #f0f0f0;
}

.button {
width: 50px;
height: 50px;
Expand All @@ -20,44 +23,43 @@ html, body {
transition-duration: .3s;
overflow: hidden;
position: relative;
}
.svgIcon {
}

.svgIcon {
width: 12px;
transition-duration: .3s;
}
.svgIcon path {
}

.svgIcon path {
fill: white;
}
.button:hover {
}

.button:hover {
width: 140px;
border-radius: 50px;
transition-duration: .3s;
background-color: rgb(255, 69, 69);
align-items: center;
}
.button:hover .svgIcon {
}

.button:hover .svgIcon {
width: 50px;
transition-duration: .3s;
transform: translateY(60%);
}
.button::before {
}

.button::before {
position: absolute;
top: -20px;
content: "Delete";
color: white;
transition-duration: .3s;
font-size: 2px;
}
.button:hover::before {
}

.button:hover::before {
font-size: 13px;
opacity: 1;
transform: translateY(30px);
transition-duration: .3s;
}

}

0 comments on commit 87f77ee

Please sign in to comment.