DEV Community

Discussion on: Responsive iframe without a parent container

Collapse
 
fentablar profile image
David Jordan

I like this solution, thank you for sharing it! One question -- where you're dividing by 1.7778 would it not be more accurate to multiply by 0.5625 instead? That way you're not sizing based on an irrational number.