2 body { font-size:
64px; font-family: Ahem; color: transparent; }
3 div { outline:
1px dashed green; }
4 div::selection { background-color: rgba(
0,
0,
255,
.4); }
6 <div id=
"start" style=
"line-height: 30px; outline: none">queue theory
</div>
8 <div id=
"end" style=
"margin-top: -10px;">information
</div>
10 getSelection().setBaseAndExtent(document
.getElementById("start").firstChild
, 2, document
.getElementById("end").firstChild
, 4);