+ 3
What is the difference of list-style-position between inside and outside..??
list-style-position
2 ответов
+ 18
list-style-position: inside;
-------------------------
• Hi, i am an element
with the property "inside",
The list-item marker is
inside, so... i can write
my text here without any
problem.
-------------------------
list-style-position: outside;
-------------------------
• |Hi, i am an element
|with the property "outside"
|The list-item marker is
| outside, so... my text
|is "indented".
-------------------------
If you want a more specific example, see this: https://www.w3schools.com/cssref/pr_list-style-position.asp
As you can see, the list item marker is positioned outside/inside the box.
+ 3
Thanks got it