I want to apply the border to the bottom of the DIV
, but it has to be on the right side of the DIV
not straight under the element. This is my html and css at the moment.
<div class="vmselement"><img src="img/play.png" alt="play" />
<h2>AFSLEELBAAR </br> OP ELD DEVICE</h2>
</div>
.vmselement{
border-bottom: 1px solid ;
color: #e8b215;
}
This is how it will looks like:
element
border bottom
Please access FIDDLE DEMO.
Just tweak the width and thickness.
Edit: Edited to fit your request.