Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thumbs up animation added #5153

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 15 additions & 0 deletions Frontend-Projects/Thumps-up animation/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://kit.fontawesome.com/638548ae4c.js" crossorigin="anonymous"></script>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div><button><i id="ab" class="fa-regular fa-thumbs-up"></i></button> </div>
</body>
</html>
38 changes: 38 additions & 0 deletions Frontend-Projects/Thumps-up animation/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
div{
height:200px;
margin-left:50px;
margin-top:20px;
}
body{
overflow: hidden;
background: linear-gradient(
45deg,
#f09433 0%,
#e6683c 25%,
#dc2743 50%,
#cc2366 75%,
#bc1888 100%
);;
}
button{
border:2px solid red;
background: linear-gradient(
45deg,
#f09433 0%,
#e6683c 25%,
#dc2743 50%,
#cc2366 75%,
#bc1888 100%
);
font-size: 90px;
width:200px;
height:200px;
border-radius: 250px;
color: white;
}
button:hover{
transform:scale(1.3);
transform: rotateZ(360deg);
transition:1s;
color: blue;
}