Saya bertanya, mohon sudi kiranya suhu2 disini menjawab :)



Status
Not open for further replies.

mugenpro

Beginner 1.0
cukup pakai css aja mas tinggal pakai
contoh:

@media only screen and (max-width: xxxx px) {
/* css code*/
}

isi xxxx dengan ukuran layar hp mas dengan ukuran pixel.

semoga bermanfaat :D
 

maxsenses

Poster 2.0
Jika punya akses utk menambahkan css tinggal di tambahi aja css nya pakai media-query ( @media ... ), tapi kalau bisa akses full source nya ya langsung aja di definisikan css class nya.
 

maxsenses

Poster 2.0
Misal:

/* ----------- iPhone 6, 6S, 7 and 8 ----------- */

/* Portrait and Landscape */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (-webkit-min-device-pixel-ratio: 2){
.single-slidemob .slick-slide, .single-slidemob-appn .slick-slide {
clear: none !important;
width: 185px !important;
padding: 0px 10px;
}}

Sceenshoot hasil pakai emulator: https://postimg.cc/image/8uvgubj3x/
 
Status
Not open for further replies.

Top