내 CSS에서 미디어 쿼리를 사용하고 있으며 작업중인 페이지에서 모바일 모양이 잘 보이도록 조정할 수 있었지만 타블렛에서 글꼴을 동일한 크기로 유지하고 내가 원하는 것처럼 조정하지 않습니다. 태블릿과 휴대 전화를 모두 조정할 수있는 단일 미디어 쿼리는 어떻게 만들 수 있습니까?전화에 대한 미디어 쿼리가 작동하지만 타블렛이 아님
<style>
.kppr
{
margin-top: -8%;
margin-left: 8%;
}
.kppr p
{
color: #89d4e8;
font-size: 400%;
font-weight: bold;
}
@media only screen and (max-width: 700px){
\t .kppr
{
margin-top: -15%;
}
.kppr p
{
font-size: 125%;
}
.kppr img
{
width: 4%;
margin-left: 2%;
}
}
</style>
<div style="position: relative; top: 0; left: 0;" class="kppr">
<p>
kids play     parents relax
</p>
<img style="position: absolute; top: 49%; left: 35.5%;" class="heart" src="http://static1.squarespace.com/static/55bed56ee4b04fdc6e0dd0d8/t/5759e5882b8ddea12fed577b/1465509256880/STL-Home-Heart.png" alt="Kids play, parents relax"/>
</div>
어쩌면 태블릿에서도 작동하도록 '최대 너비'를 변경해야할까요? – putvande
태블릿의 최대 너비는 얼마입니까? Google 크롬을 사용하는 경우 개발자 콘솔에서 여러 기기 미리보기를 사용하면 이러한 테스트 목적에 매우 유용합니다. 자세히 알아보기 [여기] (https://developers.google.com/web/tools/chrome-devtools/iterate/device-mode/?hl=ko) – anshabhi