Skip to content

Commit e53937c

Browse files
Fixed The navbar toggle problem
1 parent 8a084b4 commit e53937c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,19 @@ <h1>Hi, I am a Web Developer and UX/Ui Designer</h1>
4646
<a href="curriculum vitae.pdf" download ><span><i class="fa-solid fa-download"></i> Download CV</span></a>
4747
</div>
4848
<div class="social-buttons-container">
49-
<a href="https://www.linkedin.com/in/muhammad-awais-webdev" class="social-button">
49+
<a href="https://www.linkedin.com/in/muhammad-awais-webdev" class="social-button" target="_blank">
5050
<i class="fa-brands fa-linkedin-in"></i>
5151
<span class="icon-text">LinkedIn</span>
5252
</a>
53-
<a href="https://www.facebook.com/profile.php?id=61573732746181" class="social-button">
53+
<a href="https://www.facebook.com/profile.php?id=61573732746181" class="social-button" target="_blank">
5454
<i class="fa-brands fa-facebook-f"></i>
5555
<span class="icon-text">Facebook</span>
5656
</a>
57-
<a href="https://x.com/WebMorph_Studio" class="social-button">
57+
<a href="https://x.com/WebMorph_Studio" class="social-button" target="_blank">
5858
<i class="fa-brands fa-x-twitter"></i>
5959
<span class="icon-text">X (Twetter)</span>
6060
</a>
61-
<a href="#" class="social-button">
61+
<a href="https://github.com/muhammad-awais-web-dev/" class="social-button" target="_blank">
6262
<i class="fa-brands fa-github"></i>
6363
<span class="icon-text">Github</span>
6464
</a>

styles.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,13 +316,13 @@ h2{
316316
display: block;
317317
z-index: 1001;
318318
}
319-
.navbar-toggle.active .bar:nth-child(2){
319+
#navbar-toggle.active .bar:nth-child(2){
320320
opacity: 0;
321321
}
322-
.navbar-toggle.active .bar:nth-child(1){
322+
#navbar-toggle.active .bar:nth-child(1){
323323
transform: translateY(8px) rotate(45deg);
324324
}
325-
.navbar-toggle.active .bar:nth-child(3){
325+
#navbar-toggle.active .bar:nth-child(3){
326326
transform: translateY(-8px) rotate(-45deg);
327327
}
328328
#hero{

0 commit comments

Comments
 (0)