当前位置:网站首页>Flexbox on ie11: stretching images for no reason- Flexbox on IE11: image stretched for no reason?
Flexbox on ie11: stretching images for no reason- Flexbox on IE11: image stretched for no reason?
2022-06-25 07:10:00 【French red wine sweet】
problem :
I'm having an issue with flexbox on IE11 and while I'm aware there's lots of known issue, I haven't been able to find a solution... I am here IE11 Upper flexbox Have a problem , Although I know there are many known problems , But I can't find a solution ...
<div class="latest-posts"> <article class="post-grid"> <img src="http://lorempixel.com/image_output/cats-q-c-640-480-4.jpg" alt="" /> <div class="article-content"> <h2>THIS IS POST TITLE</h2> <p>BLAH</p> </div> </article></div>And the CSS... also CSS ...
img { max-width: 100%;}.latest-posts { margin: 30px auto;}article.post-grid { width: 375px; float: left; margin: 0 25px 100px 0; padding-bottom: 20px; background-color: #fff; border: 1px solid #f3f3f3; border-radius: 2px; font-size: 14px; line-height: 26px; display: flex; flex: 1 0 auto; flex-direction: column; justify-content: flex-start; align-content: flex-start;}.article-content { padding: 20px 35px;}Images are getting stretched within a flex container. The image is in flex The container is stretched .
Applying align-items: flex-start (I figured, since "stretched" is the default value...) or justify-content: flex-start doesn't seem to work. application align-items: flex-start ( In my submission , because “ stretched” Is the default value ...) or justify-content: flex-start It doesn't seem to work .
Codepen: example of what I meanCodepen: Example of what I mean
What am I doing wrong? What on earth did I do wrong ?
Solution :
Reference resources : https://stackoom.com/en/question/2UVBC边栏推荐
- Entry level use of flask
- [learn shell programming easily]-5. Plan tasks
- Uncaught TypeError: Cannot read properties of undefined (reading ‘prototype‘)
- keil debug查看变量提示not in scope
- [2022 dark horse programmer] SQL optimization
- Design of PWM breathing lamp based on FPGA
- Are you still doing the dishes yourself? Teach you how to make dishwasher controller with single chip microcomputer
- StreamNative Platform 1.5 版本发布,集成 Istio、支持 OpenShift 部署
- Shell命令学习
- [ros2] Why use ros2? Introduction to ros2 system characteristics
猜你喜欢

keil debug查看变量提示not in scope

Derivation of sin (a+b) =sina*cosb+sinb*cosa

3dmax软件的制作木桶过程:三步流程

Following the last minor upgrade of nodemcu (esp8266)

Qcom--lk phase I2C interface configuration scheme -i2c6

Several schemes of traffic exposure in kubernetes cluster

Expression of fatherly love

分布式锁中的王者方案 - Redisson

レ / leilei

Navicat防止新建查询误删
随机推荐
Controlling volume mixer
[learn shell programming easily]-5. Plan tasks
Derivation of COS (a-b) =cosa*cosb+sina*sinb
Pratique de gestion hiérarchique basée sur kubesphere
Love Terminator
Want to self-study SCM, do you have any books and boards worth recommending?
Comparison test of mono 120W high power class D power amplifier chip cs8683-tpa3116
Event registration | Apache pulsar x kubesphere online meetup is coming
In depth analysis of Apache bookkeeper series: Part 3 - reading principle
48 pictures | teach you the performance monitoring, pressure testing and tuning of microservices by hand
Period to string [repeat] - period to string [duplicate]
燕京啤酒何以至此?
ASP. Net core - encrypted configuration in asp NET Core
哇哦,好丰富呀。
【一起上水硕系列】Day 5
Non-contact infrared temperature measurement system for human body based on single chip microcomputer
Streamnational platform version 1.5 is released, integrating istio and supporting openshift deployment
Uncaught TypeError: Cannot read properties of undefined (reading ‘prototype‘)
Why did Yanjing Beer come here?
[acnoi2022] the structure of President Wang
