You have on my page an animated banner that I made in Google Web Designer that I incremented in my site to appear before loading the index page. So far so good, the codes are working but I would like to know how I could center it on the page, preferably interactively, because it appears in the upper left corner and I could not centralize it. the codes I'm using are these:
<style>
#conteudo1{ display:none; }
.asd {
display: nome;
background: black;
border: none;
height: 450px;
width: 900px;
align: center;
}
</style>
<script>
window.onload = function(){
document.getElementById('conteudo1').style.display = "block";
setTimeout(function() {
document.getElementById('carregando').style.display = "none";
}, 0000);
}
</script>
and on the page I placed the animation at the beginning to load the page below and when it close pull the page up with the script quoted above
<body>
<div id="carregando" class="center">
<iframe class="asd" align="top" src="CSS/animation/index/index.html"></iframe>
</div>
<div id="conteudo1">...