私の人生のために、私はこれらのセクションの要素を反応させることができません。私が間違っていることは本当にわかりません。私はそれが私のメディアの質問と関係しているかもしれないと思う。セクション要素のサイズ変更/フォーマットを別の画面サイズに維持しないでください。
アイデア?それとも、私がやったと思ったときに何をしているのか分かりません。かなり可能!
<style>
\t section.kppr{
width: 100%;
text-align: center;
margin: -6% 0 0 0;
float: center;
}
\t .kppr p{
font-size: 420%;
color: #89d4e8;
font-weight: bold;
}
.kppr img{
\t max-width: 100%;
\t height: auto;
\t width: auto;
}
\t .twgb{
width: 14%;
float: left;
text-align: center;
margin: 0 0 0 20%;
}
.twgb p{
\t line-height: 120%;
font-weight: bold;
padding: 4% 0 0 0;
font-size: 115%;
letter-spacing: 1px;
}
.descript{
\t text-align: left;
}
.descript p{
\t line-height: 120%;
color: black;
font-weight: bold;
padding: 1% 0 0 0;
}
.discount img{
\t float: left;
padding: 0 1%;
max-width: 100%;
height: auto;
width: auto;
}
/*--------------------MEDIA!!!---------------*/
@media screen and (max-width: 478px){
body{
position: absolute;
}
}
@media screen and (max-width: 740px){
section{
\t position: absolute;
}
\t \t section.kppr{
float: left;
width: 100%;
margin: 0;
padding: 0;
}
section.twgb{
float: left;
width: 100%;
margin: 0;
padding: 0;
}
section.descript{
float: left;
width: 100%;
margin: 0;
padding: 0;
}
\t \t
section.discount{
float: left;
width: 100%;
margin: 0;
padding: 0;
}
}
</style>
<section class="kppr">
\t <p>kids play <img src="http://static1.squarespace.com/static/55bed56ee4b04fdc6e0dd0d8/t/5759e5882b8ddea12fed577b/1465509256880/STL-Home-Heart.png" alt="kids play parents relax" /> parents relax</p>
</section>
<section class="twgb">
<p><font color="#000">together we</font><br><font color="#89d4e8" size="6%">give back</font></p>
</section>
<section class="discount">
\t <img src="http://static1.squarespace.com/static/55bed56ee4b04fdc6e0dd0d8/t/5759f17507eaa0ecb82b3677/1465512309355/STL-Home-5.png" alt="5% given back" />
</section>
<section class="descript">
\t <p> of every dollar goes back to helping children <br>in foster care find safe and loving homes.</p>
</section>
これは見た目を良くし、管理しやすくします。ありがとう、トン!私はこれを将来のプロジェクトに使うことができます。 – Ben