Skip to content

Commit b815148

Browse files
committed
Add animations to button and remove hamburger icon
1 parent 544cd21 commit b815148

File tree

2 files changed

+60
-21
lines changed

2 files changed

+60
-21
lines changed

css/style.css

Lines changed: 58 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12073,14 +12073,34 @@ h5,
1207312073
}
1207412074

1207512075
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
12076-
font-size: 15px;
12076+
font-size: 17px;
1207712077
padding-top: 1.5rem;
1207812078
padding-bottom: 1.5rem;
1207912079
padding-left: 20px;
1208012080
padding-right: 20px;
1208112081
color: #fff;
12082-
font-weight: 500;
12082+
font-weight: 600;
1208312083
opacity: 1 !important;
12084+
display: inline-block;
12085+
position: relative;
12086+
}
12087+
12088+
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:after {
12089+
content: "";
12090+
position: absolute;
12091+
width: 100%;
12092+
transform: scaleX(0);
12093+
height: 2px;
12094+
bottom: 17px;
12095+
left: 0;
12096+
background-color: rgb(255, 255, 255);
12097+
transform-origin: bottom center;
12098+
transition: transform 0.25s ease-out;
12099+
}
12100+
12101+
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover:after {
12102+
transform: scaleX(0.8);
12103+
transform-origin: bottom center;
1208412104
}
1208512105

1208612106
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover,
@@ -12167,7 +12187,16 @@ h5,
1216712187
}
1216812188

1216912189
.ftco-navbar-light .navbar-nav > .nav-item.active > a {
12170-
color: #4986fc;
12190+
color: #4482fd;
12191+
}
12192+
12193+
.ftco-navbar-light .navbar-nav > .nav-item.active > a:hover {
12194+
color: #4482fd;
12195+
}
12196+
12197+
.ftco-navbar-light .navbar-nav > .nav-item.active > .nav-link:hover:after {
12198+
transform: scaleX(0);
12199+
transform-origin: bottom center;
1217112200
}
1217212201

1217312202
@media (max-width: 991.98px) {
@@ -12366,21 +12395,24 @@ h5,
1236612395
}
1236712396

1236812397
#hero .btn-get-started {
12398+
border: 1px solid #007bff88;
1236912399
font-family: "Raleway", sans-serif;
12370-
font-weight: 500;
12371-
font-size: 15px;
12400+
font-weight: 600;
12401+
font-size: 17px;
1237212402
letter-spacing: 1px;
1237312403
display: inline-block;
1237412404
padding: 9px 35px;
1237512405
border-radius: 50px;
12376-
transition: 0.5s;
1237712406
margin-top: 40px;
12378-
border: 2px solid #ffc107;
12407+
background-color: #0275d8;
1237912408
color: #fff;
1238012409
}
1238112410

1238212411
#hero .btn-get-started:hover {
12383-
background: #ffc107;
12412+
background: linear-gradient(to right, #007bff 50%, #3999ff 50%);
12413+
background-size: 200% 100%;
12414+
background-position: right bottom;
12415+
transition: all 0.3s ease-out;
1238412416
}
1238512417

1238612418
@media (min-width: 1024px) {
@@ -12661,9 +12693,10 @@ h3 {
1266112693
}
1266212694

1266312695
.btn.btn-primary:hover {
12664-
border: 1px solid #4986fc;
12665-
background: transparent;
12666-
color: #4986fc;
12696+
background: linear-gradient(to right, #4181ff 50%, #6093f8 50%) !important;
12697+
background-size: 200% 100% !important;
12698+
background-position: right bottom !important;
12699+
transition: all 0.3s ease-out !important;
1266712700
}
1266812701

1266912702
.btn.btn-primary.btn-outline-primary {
@@ -14864,15 +14897,18 @@ License Terms .blog-entry {
1486414897
background: none;
1486514898
font-size: 16px;
1486614899
padding: 0 20px;
14867-
background: #ffc107;
14900+
background: #007bff;
1486814901
color: #fff;
1486914902
transition: 0.3s;
1487014903
border-radius: 50px;
1487114904
box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
1487214905
}
1487314906

1487414907
#footer .footer-newsletter form input[type="submit"]:hover {
14875-
background: #ffce3a;
14908+
background: linear-gradient(to right, #007bff 50%, #3999ff 50%);
14909+
background-size: 200% 100%;
14910+
background-position: right bottom;
14911+
transition: all 0.3s ease-out;
1487614912
}
1487714913

1487814914
#footer .credits {
@@ -14888,7 +14924,7 @@ License Terms .blog-entry {
1488814924
font-size: 18px;
1488914925
display: inline-block;
1489014926
background: #e1e4ec;
14891-
color: #5f6f92;
14927+
color: #3d465e;
1489214928
line-height: 1;
1489314929
padding: 8px 0;
1489414930
margin-right: 4px;
@@ -14900,7 +14936,7 @@ License Terms .blog-entry {
1490014936
}
1490114937

1490214938
#footer .social-links a:hover {
14903-
background: #ffce3a;
14939+
background: #89c8ff;
1490414940
text-decoration: none;
1490514941
}
1490614942

@@ -14913,15 +14949,18 @@ License Terms .blog-entry {
1491314949
font-size: 18px;
1491414950
border: none;
1491514951
outline: none;
14916-
background-color: #ffc107;
14952+
background-color: #007bff;
1491714953
color: white;
1491814954
cursor: pointer;
1491914955
padding: 15px;
1492014956
border-radius: 4px;
1492114957
}
1492214958

1492314959
#myBtn:hover {
14924-
background-color: #ffce39;
14960+
background: linear-gradient(to right, #007bff 50%, #3999ff 50%);
14961+
background-size: 200% 100%;
14962+
background-position: right bottom;
14963+
transition: all 0.4s ease-out;
1492514964
}
1492614965

1492714966
/* Style the header */
@@ -14958,7 +14997,7 @@ License Terms .blog-entry {
1495814997
display: inline-block;
1495914998
cursor: pointer;
1496014999
}
14961-
15000+
/*
1496215001
.bar1,
1496315002
.bar2,
1496415003
.bar3 {
@@ -14981,7 +15020,7 @@ License Terms .blog-entry {
1498115020
.change .bar3 {
1498215021
-webkit-transform: rotate(45deg) translate(-8px, -8px);
1498315022
transform: rotate(45deg) translate(-8px, -8px);
14984-
}
15023+
} */
1498515024

1498615025
.form-group {
1498715026
display: flex;

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
<div class="container">
4343
<a href="index.html"><span><img src="images/CodXCrypt.png" alt="" class="img-fluid"></span></a>
4444
<div class="containerM" onclick="myFunction(this)">
45-
<div class="bar1"></div>
45+
<!-- <div class="bar1"></div>
4646
<div class="bar2"></div>
47-
<div class="bar3"></div>
47+
<div class="bar3"></div> -->
4848
</div>
4949

5050
<script>

0 commit comments

Comments
 (0)