Я пытаюсь создать этот медиазапрос, чтобы при открытии его на мобильном устройстве он имел 3 ".feature-box" один над другим на полную ширину, однако он не работает, они просто оставаться полной шириной? Есть идеи как это исправить? Код ниже
HTML
<section>
<div class="section-header">
<h2>Services</h2>
<p>I provide, clean responsive modern websites for you or your business.</p>
</div>
<div class="feature-box">
<img src="devices.svg" alt="">
<h3>Responsive</h3>
<p>Works well on any device.</p>
</div>
<div class="feature-box">
<img src="code.svg" alt="">
<h3>Clean Code</h3>
<p>Effieciently typed and easy to read.</p>
</div>
<div class="feature-box">
<img src="clock.svg" alt="">
<h3>Fast Loading</h3>
<p>Loads fast to ensure your customers stay.</p>
</div>
</section>
CSS
/* Site Section */
section {
padding: 50px 0;
margin: 0 auto;
width: 80%; }
section .section-header {
text-align: center;
margin: 0 0 30px 0; }
section .section-header h2 {
letter-spacing: 2px;
text-transform: uppercase;
font-weight: 300;
color: #3F464D; }
section .feature-box {
display: inline-block;
width: 33%;
padding: 20px 30px;
text-align: center; }
section .feature-box img {
width: 150px;
margin: 0 0 12px 0;
line-height: 1; }
section .feature-box p {
font-size: 1.5rem; }
Медиа-запрос
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
/* Features */
.feature-box {
width: 100%;
display: block; } }