Good night, people I have the following problem, in the layout that I'm putting together has several lines in different places during the course of the page, the client wants these lines to appear and grow from different directions, initially I made one of these lines using the html5 "progress", however I can only do this when it is to increase the width, when the line is vertical I have problems, I tried to use the transform rotate but it was not good because even using the rotate it still occupies the size on the screen, finally I wanted other ways to make this line increase, that is malleable so much I can increase the width as well as the height without harming the layout, I am doing so for now, so ta with the rotate:
<progress id="barra1" class='custom' max='100' value='0' data-value=''></progress>
<script>
var $progress = document.querySelector('#barra1'), // Pegando o elemento
MAXIMUM = $progress.max; // Pegando o valor máximo:
100
/* Aumentando o valor a cada 1 segundo... */
var interval = setInterval(function(){
$progress.value++;
if($progress.value >= MAXIMUM)
clearInterval(interval);
}, 100);
</script>
.custom {
background-color: #dc853d;
width: 800px;
height: 1px;
transform: rotate(270deg);
}