当前位置:网站首页>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边栏推荐
- joda. Time get date summary
- Esp8266 & sg90 steering gear & Lighting Technology & Arduino
- Lotus v1.16.0-rc2 Calibration net
- 1W字|40 图|硬核 ES 实战
- Non-contact infrared temperature measurement system for human body based on single chip microcomputer
- 直接选择排序和快速排序
- Controlling volume mixer
- 深入解析 Apache BookKeeper 系列:第三篇——读取原理
- 48 张图 | 手摸手教你微服务的性能监控、压测和调优
- 使用OpenGL绘制shp文件
猜你喜欢

keil debug查看变量提示not in scope
![[tool sharing] a software that pays equal attention to appearance and skills](/img/c0/2c648752163d88e16e357e8a096354.png)
[tool sharing] a software that pays equal attention to appearance and skills

Several schemes of traffic exposure in kubernetes cluster

Who can teach me how to learn SCM, what to learn first and how to get started?

Americo technology launches professional desktop video editing solution

ACWING/2004. Misspelling

Event registration | Apache pulsar x kubesphere online meetup is coming

Make enough money to go back home

Baidu map - introductory tutorial

48 pictures | teach you the performance monitoring, pressure testing and tuning of microservices by hand
随机推荐
How to record a database [closed] - how to document a database [closed]
Practice of hierarchical management based on kubesphere
Navicat prevent new query from being deleted by mistake
mysql 表查询json数据
The significance and proof of weak large number theorem
Report on development status and investment strategy recommendations of global and Chinese graphite polystyrene board industry 2022-2028
Are you still doing the dishes yourself? Teach you how to make dishwasher controller with single chip microcomputer
How to configure log4j to only keep log files for the last seven days?
Comparison test of mono 120W high power class D power amplifier chip cs8683-tpa3116
Event registration | Apache pulsar x kubesphere online meetup is coming
How do I know if mysqlnd is an active driver- How to know if MySQLnd is the active driver?
活动报名|Apache Pulsar x KubeSphere 在线 Meetup 火热报名中
[Shangshui Shuo series] day 5
爱情️终结者
弱大数定理的意义与证明
哇哦,好丰富呀。
Blue Bridge Cup SCM module code (matrix key) (code + comments)
R & D thinking 07 - embedded intelligent product safety certification required
Lotus windowsost manually triggers space-time proof calculation
How to find happiness in programming and get lasting motivation?
