finished up to bootstrap

This commit is contained in:
2026-01-01 23:38:59 +10:00
parent 9faac87716
commit 3f748ba05b
17 changed files with 378 additions and 1 deletions

View File

@@ -0,0 +1,24 @@
<div class="container">
<div>1</div>
<div>2</div>
<div>3</div>
<div>4</div>
<div>5</div>
<div>6</div>
<div>7</div>
<div>8</div>
</div>
<style>
.container {
display: flex;
flex-wrap: no-wrap;
background: LightGreen;
}
.container div {
min-width: 120px;
height: 50px;
margin: 5px;
border: solid thin green;
}
</style>

View File

@@ -0,0 +1,38 @@
<style>
.pict {
display: flex;
flex-wrap: nowrap;
justify-content: center;
align-items: center;
}
.pict a img {
min-width:280px;
min-height:280px;
}
@media (max-width: 1000px) {
.pict {
flex-wrap: wrap;
}
}
@media (max-width: 700px) {
.pict {
flex-direction: column;
align-items: center;
}
}
</style>
<hr>
<div class="pict">
<a href="#"><img src="images/image_1.jpg"></a>
<a href="#"><img src="images/image_2.jpg"></a>
<a href="#"><img src="images/image_3.jpg"></a>
<a href="#"><img src="images/image_4.jpg"></a>
<a href="#"><img src="images/image_5.jpg"></a>
</div>
<hr>

View File

@@ -0,0 +1,46 @@
<style>
.pict {
display: flex;
flex-wrap: nowrap;
justify-content: center;
align-items: center;
}
.pict a img {
min-width: 280px;
min-height: 280px;
}
.big {
min-width: 330px;
min-height: 330px;
}
@media (max-width: 1000px) {
.pict {
flex-wrap: wrap;
}
.big {
min-width: 280px;
min-height: 280px;
}
}
@media (max-width: 700px) {
.pict {
flex-direction: column;
align-items: center;
}
}
</style>
<hr>
<div class="pict">
<a href="#"><img src="images/image_1.jpg"></a>
<a href="#"><img src="images/image_2.jpg"></a>
<a href="#" class="big"><img src="images/image_3.jpg"></a>
<a href="#"><img src="images/image_4.jpg"></a>
<a href="#"><img src="images/image_5.jpg"></a>
</div>
<hr>