당신의 미디어 쿼리를 읽지 않습니다 어떤 이유로 사파리하십시오.
@media screen and (max-device-width:640px), screen and (max-width:640px) {
/* styles here */
}
TIP : 나는 미디어 쿼리 이런 종류의 시도, 왜 모르겠지만 사파리에서 잘 작동 해달라고 몇 가지 클래스가 있습니다.
이 바탕 화면 메뉴를 숨길
@media (max-width: 775px) and (min-width: 500px) {
.item-wrap {
display:none;
}
}
(가시 : 숨겨진 나던 일을) 당신이해야 할
는 미디어 쿼리에 다음 줄을 추가합니다.
편집 :
음, 헤드 태그를 확인해야합니다. 당신은 부하 JQuery와 전에 부트 스트랩을로드하는,이 코드를 시도하지 :
<head>
<title>Third Wave Analytics</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<link rel="stylesheet" href="css/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<link rel="icon" href="../../favicon.ico">
<link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Bree+Serif" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Roboto:400,400italic,300italic" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Raleway" rel="stylesheet" type="text/css">
<script>
function scroll(){
$('.btnMedio').click(function(event) {
// Preventing default action of the event
event.preventDefault();
// Getting the height of the document
var n = $('#myCarousel').height() + 20;
$('html, body').animate({ scrollTop: n }, 900);
});
};
$(document).ready(scroll);
</script>
</head>
'디스플레이 : 없음;'무엇을 변경하고 모바일뿐만 아니라 데스크탑 용 네비게이션 바에을 엉망 최대-장치 폭을 사용하지 않았다. – Aten
여전히 작동하지 않습니다. 부트 스트랩은 사용하지 않아서는 안됩니다. – Aten
그런 오류가있는 경우 때때로 문제가 발생할 수 있습니다. –