いつもお世話になっております。
bootstrapにてLp制作中ですがbackground-imageがうまく反映されないので
ご教示いただければと思います。
下記url にて学習です(1:29:06付近)
https://www.youtube.com/watch?v=V_lAhqLXT9A
HTML
1 2 </div> 3 </div><!---End Row Dark ---> 4 <div class="fixed-wrap"> 5 <div class="fixed"> 6 </div> 7 </div> 8 </div><!---End Fixedbackground --> 9 </div>
css
1.fixed{ 2 background-image: url(img/apple.png); 3 z-index: -1; 4} 5 6.fixed-background h3{ 7 margin-bottom: 2rem; 8 9} 10.fixed-background p{ 11 margin-top: 1.5rem; 12 13} 14 15/*============ BOOTSTRAP BREAK POINTS: 16 17Extra small (xs) devices (portrait phones, less than 576px) 18No media query since this is the default in Bootstrap 19 20Small (sm) devices (landscape phones, 576px and up) 21@media (min-width: 576px) { ... } 22 23Medium (md) devices (tablets, 768px and up) 24@media (min-width: 768px) { ... } 25 26Large (lg) devices (desktops, 992px and up) 27@media (min-width: 992px) { ... } 28 29Extra (xl) large devices (large desktops, 1200px and up) 30@media (min-width: 1200px) { ... } 31 32=============*/ 33
以上、よろしくお願いいたします。
回答1件
あなたの回答
tips
プレビュー