Skip to content

Tormix Blog – Web development

Tips and tutorials

  • PHP Tips
  • Yii (Yii 2)
  • Joomla
  • JavaScript
    • jQuery
    • NodeJS
    • Angular
  • Site map

Tags

.htaccess Apache api commands composer configuration css database editor email error errors example extension firefox fix get hosts HTML install installation JavaScript Joomla js json linux MySQL nginx open PHP query RAND selectlist server set and get show errors sql ubuntu unix utf-8 version yii yii2 zend_extension zip

Categories

  • Browsers (1)
    • Fix (1)
  • Css (2)
  • Development (49)
    • .htaccess (2)
    • Data for testing (3)
    • Install (5)
    • Install environment (4)
    • SMS (1)
    • Sorting (2)
    • Test data (1)
    • XAMPP (1)
    • yii (15)
  • Git (1)
  • JavaScript (5)
    • jQuery (1)
    • Regular expressions (1)
  • Joomla (12)
    • Fixes (1)
    • Translate (1)
  • Laravel (1)
  • Linux / Unix (4)
  • PHP Tips (19)
  • Python (1)
  • SQL (6)
    • MariaDB (1)
    • MySQL (6)
    • Percona (1)
  • Yii2 (15)
  • Без рубрики (3)

Calendar

April 2018
M T W T F S S
« Sep    
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Recent Posts

  • Yii2 join condition when you use viaTable
  • How to get current commit name in Git?
  • Relation “migration” already exists error while executing yii migrate
  • Work with ZIP-archives in PHP 5.2+
  • What difference between extension, zend_extension, zend_extension_ts in PHP.ini (extension VS zend_extension)?

Tag: iphone6

CSS Media query for iPhone 5 and iPhone 6 and iPad

CSS Media query for iPhone 5 and iPhone 6 and iPad

iPhone < 5:

@media screen and (device-aspect-ratio: 2/3) {}

iPhone 5:

@media screen and (device-aspect-ratio: 40/71) {}

iPhone 6:

@media screen and (device-aspect-ratio: 667/375) {}

iPhone 6 Plus:

@media screen and (device-aspect-ratio: 16/9) {}

iPad:

@media screen and (device-aspect-ratio: 3/4) {}
Format AsidePosted on 2015-08-042015-08-04Categories Css, DevelopmentTags css, css3, ipad, iphone 5, iphone6, media, query, screen
Proudly powered by WordPress