Search code examples
csshtmltwitter

Responsive Twitter embeds


Earlier I could use the code below to make the Twitter embeds responsive:

            iframe[id^='twitter-widget-'] { width: 100% }

However this no longer works. I've tried different things, but none would work. Does anyone have a newer fix for this?

You can see it in work here: http://musik.dk/samsmith/


Solution

  •  #twitter-widget-1 {
          width:100%;
     }
    

    However the container that the widget sits in has a min-width so it will align itself to that.

     <section class="mcl mr350">