나는 반응 형 웹 사이트를 구축하고 있습니다. 이제는 서로 옆에 3 개의 아이콘이 있습니다. 가장 큰 중단 점에서 서로 옆에 놓기를 원하지만 텍스트를 추가 할 때는 그렇게하지 않을 것입니다.반응 형 포지셔닝 아이콘
#diensten {
text-align: center;
height: 700px;
background-color: #FFF;
position: relative;
}
#diensten h3 {
font-family: "helvetica";
font-size: 30px;
color: #0000;
padding-top: 20px;
}
#diensten p {
padding-top: 30px;
}
#icons {
margin: auto;
display: block;
text-align: center;
font-family: "Helvetica";
}
#icons h3 {
margin: auto;
display: block;
text-align: center;
font-size: 24px;
}
.icon1,
.icon2,
.icon3 {
padding: 0px 150px 0px 150px;
margin-top: 180px;
display: inline-block;
}
.icon1 img,
.icon2 img,
.icon3 img {
width: 200px;
}
/* Desktop */
@media (max-width: 1820px) {
.icon1,
.icon2,
.icon3 {
padding: 0px, 100px, 0px, 100px;
}
}
/* iPads (portrait and landscape) */
@media (min-width: 768px) and (max-width: 1024px) {}
<div id="icons">
<div class="icon1">
<img src="Images/browser.svg">
<h3>.Net WebApps</h3>
<p>Met een .Net webapp <br>kunt u via het internet <br>eenvoudig uw data aanpassen <br>en opslaan in een database. <br>de informatie i <br>computerprogramma's wordt <br>voornamelijk binnen organisaties gebruikt.</p>
</div>
<div class="icon2"><img src="Images/database.svg"></div>
<div class="icon3"><img src="Images/stopwatch.svg"></div>
어떻게 이런 일이 나는 그것이 반응 짓고 있어요 않습니다 ? 패딩이나 다른 것을 변경해야합니까? This is what it does I want them next to each other, and on smaller devices under each other