Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Lists: test inside and outside switch</title>
<p>The test passes if the first li is inside and the second one is outside.</p>
<ul>
<li style="list-style-position: inside;">
<div style="overflow:hidden;">
outside to inside
</div>
</li>
</ul>
<ul>
<li style="list-style-position: outside;">
<div style="overflow:hidden;">
inside to outside
</div>
</li>
</ul>