“kueri media iPad CSS” Kode Jawaban

kueri media spesifik iPad

/*working only in ipad portrait device*/
@media only screen and (width: 768px) and (height: 1024px) and (orientation:portrait) {
  body{
    background: red !important;
  }  
}
/*working only in ipad landscape device*/
@media all and (width: 1024px) and (height: 768px) and (orientation:landscape){
  body{
    background: green !important;
  }   
}

In the media query of specific devices, please use '!important' keyword to override the default CSS. Otherwise that does not change your webpage view on that particular devices.
Nikhil Carpenter

kueri media css ios

@supports (-webkit-touch-callout: none) {
   /* CSS specific to iOS devices */ 
}

@supports not (-webkit-touch-callout: none) {
   /* CSS for other than iOS devices */ 
}
Lazy Leopard

kueri media iPad CSS

@media screen and (max-width: 800px) {
    #site-header {
        display: none;
    }
}
Spotless Sloth

Jawaban yang mirip dengan “kueri media iPad CSS”

Pertanyaan yang mirip dengan “kueri media iPad CSS”

Lebih banyak jawaban terkait untuk “kueri media iPad CSS” di CSS

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya