How to position an iframe in a CSS file?

.resp-iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; } position: absolute; This will give the iframe a position relative to the wrapper and let it be positioned over the padding of the wrapper. top: 0 and left: 0 are used to position the iframe at the center of the container.
For More Information Please Refer:


You May Also Like to Read: