Skip to content

Commit

Permalink
updated img in 480px view
Browse files Browse the repository at this point in the history
  • Loading branch information
4darsh-Dev committed Apr 19, 2024
1 parent 5dddb07 commit 72b96fd
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ <h3>And I'm a <span class="dynamic-txt"></span></h3>
<div class="s-box-2">
<div class="img-box">
<img class="prof-img" src="img/home-gif.gif"
alt="Adarsh Maurya - Web Developer and Programmer">
alt="Coder Background image">
</div>
</div>
</div>
Expand Down
24 changes: 18 additions & 6 deletions responsive.css
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,10 @@
box-shadow: none;
}
.about-img img {
width: 15rem;
left: 20px;
width: 80vw;
left: 0;
right: 0;

}
.about-text{
padding-right: 0;
Expand Down Expand Up @@ -205,13 +207,13 @@
padding: 18vw 0 0 0;
}
.s-box-1-ins h3 {
font-size: 16px;
font-size: 18px;
}
.s-box-1-ins h3 span {
font-size: 16px;
font-size: 20px;
}
.s-box-1-ins h1 {
font-size: 22px;
font-size: 32px;
}
.about {
grid-gap: 0.5rem;
Expand Down Expand Up @@ -254,7 +256,11 @@
display: inline-block;
}
.about-img {
display: none;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 70px;

}
.about-text h2 {
font-size: 32px;
Expand Down Expand Up @@ -327,6 +333,12 @@
.services-list div {
padding: 25px;
}
.services-list div h2{
font-size: 25px;
font-weight: 600;
color: var(--blue);

}
.projects{
padding: 50px 12px;
}
Expand Down

0 comments on commit 72b96fd

Please sign in to comment.