Foundationには不要ですがBootstrapでは画像にクラス.img-responsive
が必要。
1 |
<img src="../img/△△.jpg" class="img-responsive" alt=""> |
背景画像では通常のCSSで行う。
1 2 3 4 5 6 7 |
.※※ { background-image: url(../img/△△.jpg); background-position: center center; background-repeat: no-repeat; background-attachment: fixed;あ background-size: cover; } |
コメント