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

Animation transition #10

Merged
merged 5 commits into from
Jun 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Empty file.
3 changes: 3 additions & 0 deletions .vs/ProjectSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"CurrentProjectSetting": null
}
Binary file added .vs/slnx.sqlite
Binary file not shown.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@
<section class="headline-container">
<article class="article">
<div class="article-item1">
<h1 class="headline-title">I'm Uzair.<br>Glad to see you!</h1>
<p class="headline-content">
<h1 class="headline-title scale-para">I'm Uzair.<br>Glad to see you!</h1>
<p class="headline-content scale-para">
I'm a software developer! I can help you build a product, feature or website Look through some of my work and experience! If you like what you see and have a project you need coded, don't hestiate to contact me.
</p>
<div class="headline-social">
<a class="social-title" href="#">LET'S CONNECT</a>
<h3 class="scale-para"><a class="social-title" href="#">LET'S CONNECT</a></h3>
<ul class="social-links">
<li class="social-link">
<a href="#">
Expand Down
26 changes: 26 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ body {
.btn:hover {
color: #fff;
background: #4269cc;
transform: perspective(150px) translateZ(20px);
}

.btn:active {
Expand Down Expand Up @@ -441,6 +442,15 @@ a:hover {
line-height: 60px;
}

.social-link {
max-width: 100%;
transition: all 0.2s ease-in-out;
}

.social-link:hover {
transform: scale(1.5);
}

.work-section {
margin: 80px 50px;
}
Expand Down Expand Up @@ -515,6 +525,7 @@ a:hover {
background: #fff;
border-radius: 10px;
border: 1px solid #396df2;
transition: transform 1s;
}

.btn:hover {
Expand Down Expand Up @@ -593,4 +604,19 @@ a:hover {
width: 500px;
justify-self: center;
}

.scale-para:hover {
-webkit-animation: scale-text 2s;
animation: scale-text 2s;
}

@keyframes scale-text {
from {
scale: 1;
}

to {
scale: 1.05;
}
}
}