I am an iOS and 3D dev taking on some Web dev work. In HTML/CSS/JS I have found it impossible to do something that I assumed was trivial: place a horizontal line atop a button.
Here is my button with a background image:
<button id="myButton" style="background-image: url(assets/cursor-filter-thumbnail.png);" class="igv-filter-button" data-toggle="modal" data-target="#myDataTarget">
</button>
Here is the CSS:
.igv-filter-button {
position: absolute;
width: 128px;
border:none;
padding: 0;
height: 100%;
background: none;
}
Now I want to place a horizontal line atop this button that I will programmatically move up/down using JS. Can someone place enlighten me?