JSFiddle - React, Tailwind, and code Playground

https://teratail.com/questions/324620

by Lhankor_Mhy

HTML

<div class=section1>
section1
</div>

<div class="images">
<div class="imagepic left"><img src="http://placehold.jp/150x150.png?text=insideimage_left.jpg" alt="insideimage"></div>
<div class="imagepic center"><img src="http://placehold.jp/150x150.png?text=insideimage_center.jpg" alt="insideimage"></div>
<div class="imagepic right"><img src="http://placehold.jp/150x150.png?text=insideimage_right.jpg" alt="indideimage"></div>
</div>

<footer>
footer
</footer>

CSS

.section1 {
  background: blue;
  height: 100px;
}

.images {
  background: crimson;
  display: flex;
  width: 1000px;
  /* justify-content: space-between; */
  align-items: flex-start 
}

.imagepic img {
  /* max-width: 100%; */
  height: auto;
  display: block;
}

.left img {
  width: 399px;
}
.center img {
  width: 245px;
}
.right img {
  width: 356px;
}

footer {
  background: rgb(106, 99, 154);
  height: 100px;
}