相关疑难解决方法(0)

91
推荐指数
3
解决办法
14万
查看次数


什么是iPhone 4用户代理?

有没有人找到iPhone 4的浏览器的用户代理字符串呢?

iphone

41
推荐指数
3
解决办法
10万
查看次数

仅仅为所有IPhones和IPADS设置样式的CSS样式

问题:我的图像在除iphone之外的所有平台都有响应.

在Android版本的网站上,以下图片没有偏差: 在此输入图像描述

在该网站的iPhone版本,它正在炸毁图像,我不确定.

我认为以下内容可以解决除IPHONES和IPADS之外的其他问题

#homepage .carousel .item { 
    height: auto !important; 
} 

#homepage .carousel .item img { 
    min-width: 100% !important; 
    max-width: 100% !important; 
    height: auto !important; 
    position: relative !important; 
} 

.carousel-indicators { 
    bottom: 2%; 
} 
Run Code Online (Sandbox Code Playgroud)

话虽如此,我还发布了我所做的其余css,以使其响应不同的大小:

/***TEST 1.2***/
#homepage .carousel .item { 
    height: auto !important; 
} 

#homepage .carousel .item img { 
    min-width: 100% !important; 
    max-width: 100% !important; 
    height: auto !important; 
    position: relative !important; 
} 

.carousel-indicators { 
    bottom: 2%; 
} 

@media screen and (max-device-width: 375px) and (max-device-height: 667px) {
	#homepage .carousel …
Run Code Online (Sandbox Code Playgroud)

javascript css iphone jquery ipad

10
推荐指数
1
解决办法
1681
查看次数

标签 统计

iphone ×4

ipad ×3

ios ×2

user-agent ×2

css ×1

ios5 ×1

ios6 ×1

javascript ×1

jquery ×1