وهڵام: تێستی ویب سایتەکەت بکە لە سەرجەم ئامێرە زیرەکەکان
دهست خۆش بهراستى شتێكى زۆر جوان و نايابه
پرسيارێك مالپهرهكهى من تهنها له ئهپل به شێوهيهكى نارێك دهردهكهوێت
چۆن چارهسهردهكرێت
وهڵام: تێستی ویب سایتەکەت بکە لە سەرجەم ئامێرە زیرەکەکان
دەستخۆش، تاقیکردنەوەی ماڵپەڕ لەسەر ئامێرە جیاوازەکان ئەمڕۆ زۆر گرینگە و بەستەرەکەش ئەو کارە بە باشی جێبەجێ دەکات.
بابەتەکە دەگوازمەوە مەکۆی وێبداڕشتن.
وهڵام: تێستی ویب سایتەکەت بکە لە سەرجەم ئامێرە زیرەکەکان
زۆر سوپاس دەستی ئێوەش خۆش
وهڵام: تێستی ویب سایتەکەت بکە لە سەرجەم ئامێرە زیرەکەکان
دهست خۆش بهراستى شتێكى زۆر جوان و نايابه
پرسيارێك مالپهرهكهى من تهنها له ئهپل به شێوهيهكى نارێك دهردهكهوێت
چۆن چارهسهردهكرێت
بە ریسپۆنسیڤ چاک دەبێ
وهڵام: تێستی ویب سایتەکەت بکە لە سەرجەم ئامێرە زیرەکەکان
دەستخۆش
وهڵام: تێستی ویب سایتەکەت بکە لە سەرجەم ئامێرە زیرەکەکان
دهست خۆش بهراستى شتێكى زۆر جوان و نايابه
پرسيارێك مالپهرهكهى من تهنها له ئهپل به شێوهيهكى نارێك دهردهكهوێت
چۆن چارهسهردهكرێت
لە CSS دا، Media Queries هەیە.
واتە لە ناو پەڕەیەکی CSS ڕێکخستنی بۆ کراوە جا سەیرێکی بکە بە ئارەزووی خۆت بیگونجێنە لەگەل ئایفۆن.
بەم شێوەیە بیناسەوە.
@media only screen
/* ----------- iPhone 4 and 4S ----------- */
/* Portrait and Landscape */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 480px)
and (-webkit-min-device-pixel-ratio: 2) {
}
/* Portrait */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 480px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: portrait) {
}
/* Landscape */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 480px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: landscape) {
}
/* ----------- iPhone 5 and 5S ----------- */
/* Portrait and Landscape */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 568px)
and (-webkit-min-device-pixel-ratio: 2) {
}
/* Portrait */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 568px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: portrait) {
}
/* Landscape */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 568px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: landscape) {
}
/* ----------- iPhone 6 ----------- */
/* Portrait and Landscape */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (-webkit-min-device-pixel-ratio: 2) {
}
/* Portrait */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: portrait) {
}
/* Landscape */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: landscape) {
}
/* ----------- iPhone 6+ ----------- */
/* Portrait and Landscape */
@media only screen
and (min-device-width: 414px)
and (max-device-width: 736px)
and (-webkit-min-device-pixel-ratio: 3) {
}
/* Portrait */
@media only screen
and (min-device-width: 414px)
and (max-device-width: 736px)
and (-webkit-min-device-pixel-ratio: 3)
and (orientation: portrait) {
}
/* Landscape */
@media only screen
and (min-device-width: 414px)
and (max-device-width: 736px)
and (-webkit-min-device-pixel-ratio: 3)
and (orientation: landscape) {
}لەگەل وێبچن هەموو شتێک ئاسانترە!
وهڵام: تێستی ویب سایتەکەت بکە لە سەرجەم ئامێرە زیرەکەکان
ئەمەشیان شتێکی زۆر چاکە.
http://quirktools.com/screenfly/
لەگەل وێبچن هەموو شتێک ئاسانترە!
وهڵام: تێستی ویب سایتەکەت بکە لە سەرجەم ئامێرە زیرەکەکان
ئەوەى منیش وایە چۆن دە سکارى بکەم http://mzirin.com/index.php

