iframe css for dynamic width


/ Published in: CSS
Save to your folder(s)

CSS to define an iframe to always be 100% of the container it's in.


Copy this code and paste it in your HTML
  1. .slideshow-content iframe { max-width: 100%; margin: 0 auto; display: block; }

Report this snippet


Comments


You need to login to view comments.