how to make a fullscreen button an an iframe

CSS
body, html {
    height: 100%;
    margin: 0;
}
.fullScreen {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}document.getElementsByTagName("iframe")[0].className = "fullScreen";
Source

Also in CSS: