Skip to content

Commit

Permalink
second section ready css
Browse files Browse the repository at this point in the history
  • Loading branch information
niwatoridev committed Mar 18, 2022
1 parent 1f92c79 commit 56012a0
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
</div>
</div>
</section>
<section>
<img src="images\triangle-hexagon.svg" alt="triangle-hexagon">
<h1>Bring the best of open source to your company</h1>
<section class="sectionTwo">
<div class="sectionTwoDiv1"><img src="images\triangle-hexagon.svg" alt="triangle-hexagon"></div>
<h1 class="sectionTwoDiv2">Bring the best of open source to your company</h1>
<article>npm is the tool used by over 11,000,000 JavaScript developers around the world. Your developers already use it. Your company depends on it. Create an Org and get more out of the tools your team already knows and loves.</article>
</section>
<section>
Expand Down
35 changes: 35 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,38 @@ nav a {
color: rgb(0, 0, 0);
font-weight: bold;
}

.sectionTwo {
height: 600px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: rgba(255, 255, 255, 0.3);
}

.sectionTwoDiv1 {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.sectionTwoDiv2 {
display: flex;
align-items: center;
background-color: rgba(255, 204, 53, 0.4);
transform: skew(9deg, 0deg);
font-style: italic;
background-size: 20px;
}

.sectionTwo img {
width: 200px;
}

.sectionTwo article {
width: 700px;
text-align: center;
margin-bottom: 50px;
}

0 comments on commit 56012a0

Please sign in to comment.