Merge pull request 'Feat/Top-Cards' (#5) from Feat/Top-Cards into develop
Reviewed-on: #5
This commit is contained in:
commit
aceb341a6c
BIN
assets/images/top-card-01.png
Normal file
BIN
assets/images/top-card-01.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 965 B |
BIN
assets/images/top-card-02.png
Normal file
BIN
assets/images/top-card-02.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
BIN
assets/images/top-card-03.png
Normal file
BIN
assets/images/top-card-03.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
@ -58,3 +58,31 @@ body{
|
||||
width: 17%;
|
||||
padding: 0 0 178px;
|
||||
}
|
||||
|
||||
.top-cards{
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 18%);
|
||||
gap: 20px;
|
||||
justify-content: center;
|
||||
padding: 0 0 80px;
|
||||
}
|
||||
|
||||
.top-card{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
||||
}
|
||||
|
||||
.top-card-image{
|
||||
display: block;
|
||||
padding: 36px 124px 0;
|
||||
}
|
||||
|
||||
.top-card-description{
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
text-align: center;
|
||||
padding: 26px;
|
||||
}
|
29
index.html
29
index.html
@ -37,6 +37,35 @@
|
||||
|
||||
</section>
|
||||
|
||||
<section class="top-cards">
|
||||
<div class="top-card">
|
||||
<img class="top-card-image" src="./assets/images/top-card-01.png" alt="Image 1" />
|
||||
|
||||
<p class="top-card-description" >
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="top-card">
|
||||
<img class="top-card-image" src="./assets/images/top-card-02.png" alt="Image 2" />
|
||||
|
||||
<p class="top-card-description" >
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="top-card">
|
||||
<img class="top-card-image" src="./assets/images/top-card-03.png" alt="Image 3" />
|
||||
|
||||
<p class="top-card-description" >
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user