+ 1

(How) can I use rounded borders for an IFrame?

29th Apr 2021, 6:27 AM
programmeester - avatar
3 Answers
+ 5
You can use border-radius property https://www.sololearn.com/learn/CSS/2238/?ref=app iframe{ width:100px; height:100px; border-radius:100px; // or 100% }
29th Apr 2021, 6:35 AM
Sudarshan Rai
Sudarshan Rai - avatar
+ 2
Ray Libbenga 5 Answers. The div container method described in How to Get Rounded Corners on an iFrame using Border-Radius CSS works for me. The border-radius should be set to whatever you want the roundness to be, and the width must be set to the width of the iFrame, else you will get only a few (if any) rounded corners.
30th Apr 2021, 10:12 PM
❤️😍Prerana😍❤️ - avatar
+ 1
Oke thank you!
29th Apr 2021, 6:45 AM
programmeester - avatar