How to set up twitter's embedded timeline width in percentage (responsive/fluid design)

后端 未结 9 1314
慢半拍i
慢半拍i 2021-02-04 17:06

I\'m looking to set up twitter\'s embedded timeline, it\'s quite easy when you\'re having a fixed design, but that\'s not my case and I\'m actually building a fluid and responsi

9条回答
  •  一向
    一向 (楼主)
    2021-02-04 17:23

    Thanks to all of you I found my way through: It was almost as lack said, but we had to focus on the iframe instead:

    .MyClassForTheDivThatContainTheiFrame iframe{
        width:100%;
    }
    

    of course .MyClassForTheDivThatContainTheiFrame is also fluid with a % width

提交回复
热议问题