Skip to content

Commit

Permalink
starting transform section
Browse files Browse the repository at this point in the history
  • Loading branch information
MDASHRAFUDDINTANVIR1 committed Feb 20, 2024
1 parent b73cd4d commit a49cde9
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 2 deletions.
13 changes: 12 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,18 @@ <h1>Year Ending Sale</h1>
<!-- transform and animation part -->
<!-- transform and animation part -->
<section class="transform-part">

<h2>It's transform</h2>
<div class="transform-box">
<div class="box box1">
<h5>Box No1</h5>
</div>
<div class="box box2">
<h5>Box No2</h5>
</div>
<div class="box box3">
<h5>Box No3</h5>
</div>
</div>
</section>


Expand Down
31 changes: 31 additions & 0 deletions transform.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
.transform-part {
margin-top: 30px;
background-color: antiquewhite;
}

.transform-part h2 {
padding: 20px;

}

.transform-box {
display: flex;
justify-content: space-between;
padding: 20px;
}

.box {
padding: 10px;
background-color: lightcoral;
border-radius: 5px;
}

.box1 {
transform: ;
}

.box:hover {
background-color: darkorchid;
color: white;
transition: all 0.5s ease-in-out;
}
2 changes: 1 addition & 1 deletion transition.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
justify-content: space-between;
align-items: center;
width: 80%;
margin: 20px auto;
margin: 40px auto;
}

.transition-portion {
Expand Down

0 comments on commit a49cde9

Please sign in to comment.