Sugarcube 2.28
Here's my question: I'm trying to create my own health/progress bar, and I've got a span element which I'm trying to nest inside of a div element positioned exactly on top of it so that it appears to represent the current value/max value with the DIV being the border or frame. The problem is while it works in mozilla, chrome, and Internet explorer, it doesn't work in Sugarcube; it's placing the span element underneath the div element. Does that make sense? I'm not completely new to HTML, etc, but I'm really having to brush up lately since gaining an interest in twine. Any thoughts? Thank you very much
Here's my code
<div id="container">
<span id="animate"></span>
</div>
#container {
width: 400px;
height: 10px;
border-radius: 15px;
position: relative;
background: pink;
border: 2px solid #000;
}
#animate {
width: 150px;
height: 10px;
position: absolute;
background: lightgreen;
border-radius: 15px;
right:0px;
}