コードを修正していたら、突然CSSが適応されなくなりました。
エディタはVScodeを使っています。
修正していた部分は以下です。
<!--Start Clients Section--> <div id="clients" class="offset"> <!--Start Jumbtron--> <div class="jumbtron"> <div class="col-12 text-center"> <h3 class="heading">Clients</h3> <div class="heading-underline"></div> </div> <div class="row"> <div class="col-md-6 clients"> <div class="row"> <div class="col-md-4"> <img src="img/client1.png"> </div> <div class="col-md-8"> <blockquote> <i class="fas fa-quote-left"></i> I see Nuno support as more of a partner to my company than a resource. I can pick up the phone and talk to anyone at any time and the way that they interact with us as a business makes it really simple. <hr class="clients-hr"> <cite>— Eric, Small Business Owner</cite> </blockquote> </div> </div> </div> <div class="row"> <div class="col-md-6 clients"> <div class="row"> <div class="col-md-4"> <img src="img/client2.png"> </div> <div class="col-md-8"> <blockquote> <i class="fas fa-quote-left"></i> I see Nuno support as more of a partner to my company than a resource. I can pick up the phone and talk to anyone at any time and the way that they interact with us as a business makes it really simple. <hr class="clients-hr"> <cite>— Rachel, Professional Photographer</cite> </blockquote> </div> </div> </div> </div> </div><!--End Row--> </div><!--End Jumbtron--> <div class="col-12 narrow text-center"> <p class="lead">Want to learn more about developing Bootstrap Themes?</p> <a class="btn btn-secondary btn-md" href="#" target="_blank">Bootstrap Course</a> </div> </div> <!--End Clients Section-->
しかし、この部分を修正していたのに、すべてのクラスにCSSが適応されなくなってしまいました。
HTMLのテンプレはしっかり読み込んでありますし、スタイルシートでCSSを指定もしてあります。
それとも、どこか触ってしまうと、CSSが適応されなくなるショートカットとかあるのでしょうか?
<追記>
上記のCSS部分です。
/*--client Section--*/ .clients img { width: 100%; border-radius: 50%; } blockquote .svg-inline--fa { color: #1ebba3; margin: 1rem; } .clients-hr { border-top: .05rem solid #1ebba3; }
回答4件
あなたの回答
tips
プレビュー