images aligned
This commit is contained in:
63
index.css
63
index.css
@@ -34,38 +34,45 @@
|
||||
color: black;
|
||||
}
|
||||
|
||||
/* 4 images part */
|
||||
.images-container{
|
||||
.images-container {
|
||||
width: 90%;
|
||||
height:20%;
|
||||
margin:auto;
|
||||
margin: auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.half-size {
|
||||
width: 43%;
|
||||
height: 140pt;
|
||||
float: left;
|
||||
text-align: center;
|
||||
line-height: 140pt;
|
||||
margin: 1%;
|
||||
}
|
||||
|
||||
.quarter-size {
|
||||
width: 21%;
|
||||
height: 140pt;
|
||||
float: left;
|
||||
text-align: center;
|
||||
line-height: 140pt;
|
||||
margin: 1%;
|
||||
}
|
||||
|
||||
.image-column-container {
|
||||
width: 24%;
|
||||
height: 140pt;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.image-column-container > div {
|
||||
width: 100%;
|
||||
height: 48%;
|
||||
margin: 1%;
|
||||
}
|
||||
|
||||
.images-container .half-size{
|
||||
float: left;
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.images-container .quarter-size{
|
||||
float: left;
|
||||
width: 25%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.images-container .image-column-container{
|
||||
float: left;
|
||||
width: 25%;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
line-height: 96px;
|
||||
margin-bottom: 4%;
|
||||
}
|
||||
|
||||
.images-container img{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.image-column-container div{
|
||||
height: 50%;
|
||||
width: 38vmax;
|
||||
}
|
||||
@@ -32,6 +32,7 @@
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="images-container">
|
||||
<div class="half-size">
|
||||
<img src="./images/arduino.png" alt="Arduino">
|
||||
|
||||
Reference in New Issue
Block a user