css기초-list-style속성

전은하·2024년 6월 11일

CSS기초

목록 보기
16/28

ul의 불릿이나 ol의 숫자를 다양한 형태로 바꿀 때 사용한다.

<ul>
- list-style-type:disc(●)
- list-style-type:circle(○)
 - list-style-type:square(■)
 - llst-style-type: none(불릿 없애기)
<ol>
-list-style-type:demical(1로 시작하는 십진수. 1,2,3...)   
-list-style-type:demical-leading-zero(앞에 0이 붙는 십진수. 01,02,03...)   
-list-style-type:lower-roman(로마 숫자 소문자, i ,ii,iii...)
-list-style-type:upper-roman(로마 숫자 대문자, I ,II,III...)
-list-style-type:lower-alpha 또는 lower-latin(알파벳 소문자, a,b,c ...)
-list-style-type:upper-alpha 또는 upper-latin(알파벳 대문자, A,B,C ...)
-list-style-type:armenian(아르매니아 숫자)
-list-style-type:geotgian(조지 왕조 시대의 숫자 an,ban,gan...)

*스타일상속:부모의 속성은 자식에게 그대로 전달된다.

profile
안녕하세요

0개의 댓글