Skip to content

Instantly share code, notes, and snippets.

@yutaide
Created April 18, 2019 09:44
Show Gist options
  • Save yutaide/797ddf5e5109a881ce0bf59aaf4160ea to your computer and use it in GitHub Desktop.
Save yutaide/797ddf5e5109a881ce0bf59aaf4160ea to your computer and use it in GitHub Desktop.
bs隙間系3
<div class="container" style="background-color: red; padding: 10px;"> <!-- padding:10px指定 -->
<div class="row" style="background-color: green; margin-left: 0; margin-right: 0;"> <!-- .rowのネガティブマージンを削除 -->
<div class="col-sm-4" style="background-color: blue;">
<img src="./images/img1.jpg">
</div>
<div class="col-sm-4" style="background-color: yellow;">
<img src="./images/img4.jpg">
</div>
<div class="col-sm-4" style="background-color: purple;">
<img src="./images/img5.jpg">
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment