我正在研究这个 site在使用 cutomizeit 主题的 wordpress 中。一切都是有响应的,直到我自定义将其添加到我的主页
<div class="hilight-hometext">
<div id="hilightbox">
<div class="hilightbox-text">
<h2>At Salisbury we want everyone to understand their landscaping choices</h2>
<p>Our latest landscaping innovation is our Outdoor Vision questionnaire. We’ll guide you through a set of questions that will help you realize what you want out of your yard. </p>
</div>
<!-- end tier 2 text -->
<div class="hilightbox-action">
<a class="myButton" href="resources/the-outdoor-vision-tool/">GET STARTED</a>
<p>Your Outdoor Vision</p>
</div>
<!-- end tier 2 action -->
</div></div>
这个 div 没有响应。我怎样才能使它响应,以便一切正常。请帮忙!!谢谢!!
最佳答案
添加 CSS max-width/min-width 和 max-height/min-height!
关于html - 如何使div响应,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23192466/