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

added hover #202

Closed
wants to merge 1 commit into from
Closed
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
103 changes: 103 additions & 0 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,53 @@ body.nav-active { overflow: hidden; }

.category .btn { margin-inline: auto; }

#top_categories1 {
transition: transform 0.3s ease;
}

#top_categories1:hover {
transform: scale(1.02);
}

#top_categories2 {
transition: transform 0.3s ease;
}

#top_categories2:hover {
transform: scale(1.02);
}

#top_categories3 {
transition: transform 0.3s ease;
}

#top_categories3:hover {
transform: scale(1.02);
}

#top_categories4 {
transition: transform 0.3s ease;
}

#top_categories4:hover {
transform: scale(1.02);
}

#top_categories5 {
transition: transform 0.3s ease;
}

#top_categories5:hover {
transform: scale(1.02);
}

#top_categories6 {
transition: transform 0.3s ease;
}

#top_categories6:hover {
transform: scale(1.02);
}



Expand Down Expand Up @@ -566,6 +612,55 @@ body.nav-active { overflow: hidden; }

.course .btn { margin-inline: auto; }

#choose_courses1 {
transition: transform 0.3s ease;
}

#choose_courses1:hover {
transform: scale(1.01);
}

#choose_courses2 {
transition: transform 0.3s ease;
}

#choose_courses2:hover {
transform: scale(1.01);
}

#choose_courses3 {
transition: transform 0.3s ease;
}

#choose_courses3:hover {
transform: scale(1.01);
}

#choose_courses4 {
transition: transform 0.3s ease;
}

#choose_courses4:hover {
transform: scale(1.01);
}

#choose_courses5 {
transition: transform 0.3s ease;
}

#choose_courses5:hover {
transform: scale(1.01);
}

#choose_courses6 {
transition: transform 0.3s ease;
}

#choose_courses6:hover {
transform: scale(1.01);
}



/*-----------------------------------*\
#CTA
Expand All @@ -588,6 +683,14 @@ body.nav-active { overflow: hidden; }
}


#Register_today {
transition: transform 0.3s ease;
}

#Register_today:hover {
transform: scale(1.05);
}

/*-----------------------------------*\
#BLOG
\*-----------------------------------*/
Expand Down
26 changes: 13 additions & 13 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ <h2 class="headline-md text-center section-title" data-aos="fade-down">

<ul class="grid-list">

<li>
<li id="top_categories1">
<div class="card category-card" data-aos="fade-right">

<div class="card-icon">
Expand All @@ -239,7 +239,7 @@ <h3 class="title-lg">Data Science</h3>
</div>
</li>

<li>
<li id="top_categories2">
<div class="card category-card" data-aos="fade-right">

<div class="card-icon">
Expand All @@ -258,7 +258,7 @@ <h3 class="title-lg">UI/UX Design</h3>
</div>
</li>

<li>
<li id="top_categories3">
<div class="card category-card" data-aos="fade-right">

<div class="card-icon">
Expand All @@ -277,7 +277,7 @@ <h3 class="title-lg">Modern Physics</h3>
</div>
</li>

<li>
<li id="top_categories4">
<div class="card category-card" data-aos="fade-right">

<div class="card-icon">
Expand All @@ -296,7 +296,7 @@ <h3 class="title-lg">Music Production</h3>
</div>
</li>

<li>
<li id="top_categories5">
<div class="card category-card" data-aos="fade-right">

<div class="card-icon">
Expand All @@ -315,7 +315,7 @@ <h3 class="title-lg">Digital Marketing</h3>
</div>
</li>

<li>
<li id="top_categories6">
<div class="card category-card" data-aos="fade-right">

<div class="card-icon">
Expand Down Expand Up @@ -438,7 +438,7 @@ <h2 class="headline-md section-title text-center" id="course-label" data-aos="fa

<ul class="grid-list">

<li class="card-container">
<li class="card-container" id="choose_courses1">
<div class="card course-card" data-aos="fade-right">

<figure class="card-banner">
Expand Down Expand Up @@ -489,7 +489,7 @@ <h3 class="title-lg card-title">
</div>
</li>

<li class="card-container">
<li class="card-container" id="choose_courses2">
<div class="card course-card" data-aos="fade-left">

<figure class="card-banner">
Expand Down Expand Up @@ -540,7 +540,7 @@ <h3 class="title-lg card-title">
</div>
</li>

<li class="card-container">
<li class="card-container" id="choose_courses3">
<div class="card course-card" data-aos="fade-right">

<figure class="card-banner">
Expand Down Expand Up @@ -591,7 +591,7 @@ <h3 class="title-lg card-title">
</div>
</li>

<li class="card-container">
<li class="card-container" id="choose_courses4">
<div class="card course-card" data-aos="fade-left">

<figure class="card-banner">
Expand Down Expand Up @@ -642,7 +642,7 @@ <h3 class="title-lg card-title">
</div>
</li>

<li class="card-container">
<li class="card-container" id="choose_courses5">
<div class="card course-card" data-aos="fade-right">

<figure class="card-banner">
Expand Down Expand Up @@ -693,7 +693,7 @@ <h3 class="title-lg card-title">
</div>
</li>

<li class="card-container">
<li class="card-container" id="choose_courses6">
<div class="card course-card" data-aos="fade-left">

<figure class="card-banner">
Expand Down Expand Up @@ -766,7 +766,7 @@ <h2 class="headline-md section-title" id="cta-label" data-aos="zoom-in">
Education Is About Creating Leaders For Tomorrow
</h2>

<a href="signin.html" class="btn btn-tertiary" data-aos="fade-left">Register Today</a>
<a href="signin.html" class="btn btn-tertiary" data-aos="fade-left" id="Register_today">Register Today</a>

</div>
</section>
Expand Down