पर ठीक से काम नहीं करता है मैं साइट के सीएसएस के बारे में iOS9 साथ एक समस्या है। सीएसएस नियम एंड्रॉइड और आईओएस 8 पर ठीक काम करता है। लेकिन आईओएस 9 पर, साइट गड़बड़ हुई। यह अंतर ios8 और ios9 है।सीएसएस नियम iOS9
संभावित समस्या क्या है और मैं इसे कैसे ठीक कर सकते हैं? मदद के लिए धन्यवाद।
सीएसएस:
section.destinations {
float: left;
width: 82.5%;
display: inline-block;
position: relative;
overflow: hidden;
margin: 0 auto;
font-weight: 300;
font-size: 1.25em;
}
.content-wrap {
position: relative;
border-radius: 5px;
}
.content-wrap section {
margin: 0 auto;
max-width: 1200px;
text-align: center;
padding: 10px;
border-radius: 5px;
background-color: white;
display: block;
}
.destinations .promo {
position: relative;
background: #fff;
webkit-box-shadow: 0 0 2px rgba(0,0,0,1);
-moz-box-shadow: 0 0 2px rgba(0,0,0,1);
box-shadow: 0 0 2px rgba(0,0,0,1);
float: left;
width: 23%;
margin: 0 2.6% 20px 0;
font-size: 10px;
text-align: left;
display: block;
}
@media screen and (max-width: 600px){
section.destinations {
width: 100%;
}
}
@media screen and (max-width: 410px){
.full .one-fourth {
width: 100%!important;
margin: 0 auto 15px!important;
}
}
HTML:
<section class="destinations clearfix full tabs tabs-style-tzoid">
<div class="content-wrap">
<section id="section-tzoid-1" class="content-current">
<!--column-->
<article class="one-fourth promo" style="">
</article>
<!--//column-->
<!--column-->
<article class="one-fourth promo" style="">
</article>
<!--//column-->
<div class="clearfix"></div>
</section>
</div>
</section>
इसे डीबग करने का एक आम तरीका नियमों को एक समय में हटा देता है जब तक कि आप कोई फर्क नहीं पड़ता। –