【问题标题】:I can’t correct responsive big image to mobile screen我无法将响应式大图像更正到手机屏幕
【发布时间】:2021-05-21 21:36:48
【问题描述】:

我创建了我的第一个网站,但我无法理解我的大图像在 flex 和溢出隐藏显示方面如何正确响应以逐个滑动图像

这是我试图回应的样子

img{
    width: 100%;
    height: auto;
    padding: 1px; 
}


.doorsSlide{
    width: auto;        
    display: flex;
    height: 430px;
    
    
    
}     
.doorsSlide.large{
    height: 100%;
}
.doorsSlide.small{
    height: 100%;
}

【问题讨论】:

  • 请在您的代码sn-p中显示您的相关HTML

标签: html css web responsive


【解决方案1】:

我想提供帮助,但是我没有足够的信息来理解问题。

根据您为img 输入的代码,该代码应根据不同的屏幕分辨率进行调整。

【讨论】:

    猜你喜欢
    • 2016-07-18
    • 2012-08-31
    • 1970-01-01
    • 2019-06-27
    • 2019-07-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-08-17
    相关资源
    最近更新 更多