There have been many inquiries regarding drawing lines without adding an additional HTML element. Consider this scenario with an HTML div element:
<div class="myDiv"></div>
Accompanied by the following CSS:
.myDiv{
width: 100px;
height: 100px;
border: 2px solid black;
}
Now, is it feasible to create four vertical dotted lines in the background of the div, from top to bottom, using only additional CSS?
FIDDLE
https://jsfiddle.net/yjs5yqwo/
https://jsfiddle.net/rjykLrog/2/
EDIT
It's important that I can specify margin-left or a similar property to position the lines as needed.