8 Nisan 2015 Çarşamba

Siteyi Responsive Çevirme

 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">


/*---------------iPad & Samsung Galaxy Tablets portrait---------------*/
/*___________________________________________________________________*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
}

/*---------------iPhone & Samsung Mobiles landscape---------------*/
/*___________________________________________________________________*/
@media only screen and (min-width: 480px) and (max-width: 767px) {

}

/*---------------iPhone & Samsung Mobiles landscape---------------*/
/*___________________________________________________________________*/
@media only screen and (min-width: 320px) and (max-width: 479px) {

}

/*Mobil Menü İçin*/
jQuery(document).ready(function($) {
var a=0;
    $(".menu-mobil").click(function(){
       
        if(a == 0){
            $(this).text("KAPAT");
            a++;
        }else{
            $(this).text("MENÜ");
            a=0;
        }
        $("#categories").toggle();
    });

});

Hiç yorum yok:

Yorum Gönder