I am aiming to embed an iframe, which height can vary and I need to crop the bottom 100px of it. The code snippet I am currently using is:
<iframe id="booking-content" title="booking-content"
src="https://outlook.office365.com/owa/calendar/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="33607761615647525a5f705c5d40465f475a5d5473405741415647525a5f1d505c5e">[email protected]</a>/bookings/"
scrolling="no" allowfullscreen="allowfullscreen"
style="width: 1024px; height: 100vh; clip-path: inset(0px 0px 100px 0px);
overflow: hidden; margin:0 auto; border:none;">
</iframe>
Unfortunately, applying clip-path
creates a white border at the bottom as shown in this https://i.sstatic.net/XQNwK.png.
You can view a functioning example with the same code used in the image above by clicking here.
Thank you very much! (This question is somewhat related)