Skip to content

Commit

Permalink
Merge pull request #78 from 1-ankush-1/patch-hero-section-#65
Browse files Browse the repository at this point in the history
Fixed hero-image #65
  • Loading branch information
JAYESHBATRA authored Jan 6, 2024
2 parents ea63611 + ff035e9 commit 14cc842
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1 id="automatic-change">Learn Interactively</h1>
<a href="#features" class="primary-button get-started-btn">Get Started</a>
</div>
<div class=" header-right">
<img src="./assets/asset 2.svg" alt="hero image" class="hero-image">
<img src="./assets/asset 2.svg" alt="hero image" class="hero-image block md:w-[40vw] mx-auto my-0 w-[80vw]">
</div>
</div>
</header>
Expand Down
4 changes: 2 additions & 2 deletions media-queries.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@

.header-right{
position: relative;
left: -3vw;
/* left: -3vw; */
}


Expand Down Expand Up @@ -136,6 +136,6 @@

.header-right{
position: relative;
left: -13vw;
/* left: -13vw; */
}
}
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ header {
}

.header-right img {
width: 200%;
/* width: 200%; */
/* transform: translateX(-13vw); */
z-index: -10;
position: relative;
Expand Down

0 comments on commit 14cc842

Please sign in to comment.